SAMBA+LDAP Connection

Jun 29, 2009

I'm trying to setup a PDC Login server with SAMBA+LDAP (in separate servers).

How can I test if SAMBA is trying to login properly into the LDAP server?

View 1 Replies


ADVERTISEMENT

SAMBA/LDAP Integration

Nov 17, 2008

I'm struggling hard to integrate a group of windows boxes to authenticate with a Linux samba/ldap server (with personal mapped drives as well).
I get stuck in this error:

root@LittleCode:/usr/share/smbldap-configure# smbldap-useradd -a -m moquist
Error looking for next uid in cn=NextFreeUnixId,dc=activespace,dc=local:value does not conform to assertion syntax at /usr/share/perl5/smbldap_tools.pm line 1071.
root@LittleCode:/usr/share/smbldap-configure#

View 1 Replies View Related

LDAP Related

Jun 28, 2009

Can a domain have two set of users.... let me explain the situation.

mydomain.com has a set of users which have admins etc etc.

can i have sub.mydomain.com with the same set of users, with different admin and restricted access to certain level.

View 5 Replies View Related

LDAP - Custom Attributes

Jan 23, 2007

I've been searching for a way to add custom attributes into an LDAP schema. At first I didn't know if it was possible, but I guess it is. What I can't seem to find out now, is how to add them? Do I have to make a custom schema & upload it? How do I go about adding these fields? This all stems from me using other attributes for different functions, ie ( I'm using the employeeNumber field to determine if someone is allowed internet access. What I would like to do is make an attribute called inetAccess and use that instead.)

I'm using OpenLDAP on a Linux OS (SuSE). Anyone have any experience in adding custom attributes, or custom schemas? Or can anyone direct me to where I would find the answers?

View 0 Replies View Related

Apache :: Windows LDAP And SSL

Oct 19, 2012

I have Apache 2.2.17 running on Windows 7. I'm using PHP to query a Windows 2008 LDAP server. Everything works ok until I try to use LDAPS. Many of the resources I can find refer to a ldap.conf file and the certificates being the main problem. I don't have an ldap.conf file anywhere, so I put all of the relevant lines in the httpd.conf.

I'm getting from the 2008 AD server. I haven't found any tutorial that covers it with an implementation in Apache on Windows. Many tutorials cover using LDAP to authenticate to the site, but I need to use it for queries. I used the procedure at URL... to get the certificate installed and exported. But I don't know a way to confirm that it's using the cert I think it is for LDAPS. All LDAPS tests work (LDP.EXE from Windows).

View 19 Replies View Related

Libnss-ldap And Host Resolution

Aug 30, 2007

I end up working on about 5-6 different desktops regularly. I shorthand most of my servers in /etc/hosts so rather than typing www13.domain.com I shorthand it to www13. So rather than try to maintain each of these 5-6 hosts db's (and rather than setting up something more elaborate), I decided to take one of my personal ldap servers, added ou=Hosts,dc=domain,dc=com, and set it up as an ipHost objectclass (with the machine name being the cn, and the IP being ipHostNumber). I then installed libnss-ldap and the ldap client on my machine, editing /etc/ldap.conf by adding the base and uri, /etc/libnss-ldap.conf adding the base, ldap_version, uri, and setting nss_base_hosts to ou=Hosts,dc=domain,dc=com. I then edited /etc/nsswitch.conf and set my hosts: record to include ldap at the end.

When I do getent hosts, the hosts are listed as they should be (ip machinename). However, when I try to ping or resolve any of the machine names, it fails.

getent hosts|grep testldap
24.62.234.23 testldap
ping testldap
ping: unknown host testldap

View 3 Replies View Related

Apache :: LDAP Authentication Module

Mar 22, 2015

I have some questions about the LDAP authentication module.I have a LDAP authentication with this config:

<AuthnProviderAlias ldap ldap-account>
AuthLDAPBindDN "CN=directory search,OU=Service-User,DC=company,DC=ch"
AuthLDAPBindPassword "xxxxx"
AuthLDAPURL "ldap://ldap.company.ch/ou=Users,dc=company,dc=ch?sAMAccountName?sub?(objectClass=*)"
</AuthnProviderAlias>

If a User logs in with username only, all works correct. If a user use the DomainUsername format, the login is rejected with "user not found".Should it not work with both login styles ? Or is there a option to reformat or rewrite the username before authentication without the "Domain part ?

View 1 Replies View Related

Apache :: What LDAP Authentication Mechanism Is Used

Apr 23, 2015

Is this simple authentication or SASL Digest MD5, ..)?

we are able to specify only the 'authbasicprovider ldap' ldap url, bind username and password in the apache httpd configuration file.

Can LDAP SASL (Digest MD5, GSSAPI,…) mechanism be specified in the Apache configuration during authentication?

If so, how to specify the LDAP SASL mechanism?

View 4 Replies View Related

SAMBA

Apr 16, 2007

I'm currently trying out SAMBA, and having a few last minute issues:

I got both of my centos servers to run samba fine, the mount from serverA to serverB is great... the only problem is that it can't DIR/LS the mounted/shared folder for browsing and viewing. Here is my current smb.conf:

[global]
netbiosname = superpix
security = USER
password level = 4
os level = 64
domain master = yes
local master = yes
prefered master = yes
browsable = yes
writable = yes
locking = no
case sensitive = no
default case = lower
preserve case = yes
short preserve case = no
encrypt passwords = Yes
workgroup = superpix

[homes]
read only = no
browseable = no

[shared]
path = /san
interfaces = eth1 lo
hosts deny = ALL
hosts allow = 10.222.0.
browseable = yes
write list =root, admin
create mask = 0644
directory mask = 0777
public = yes
valid users = admin

I'm not sure what I'm doing wrong... but I can access the files in that folder fine from another server, i just can list/dir the darn thing.

View 3 Replies View Related

Apache :: LDAP Authentication - Not Linking To Server

Jan 16, 2014

I am running apache currently on my QNAP server, and have enabled webserver and LDAP. We have set up users on LDAP. I have created a landing page for access from the internet. I want to configure Apache to authenticate the users using LDAP before granting access to the landing directory.

I have started this with the apache configuration below: My apache config file -

Code:
LogLevel debug
CustomLog "logs/access_log" combined
ErrorLog "logs/error_log"
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
ServerName MyServer
LDAPTrustedMode NONE
LDAPVerifyServerCert Off

[Code] ....

When I access my page, I get the authentication prompt. But when I enter my LDAP login and password, I get thrown out of the system with the error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@NAS and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Looks like my apache configuration is a problem as I am able access my LDAP and everything with LDAP seems to be working fine except Apache configuration to authenticate against LDAP.

View 1 Replies View Related

Apache :: Directories On Website Need Authentication Against LDAP

Nov 5, 2012

We have a website running on Apache ver 2.2.3.

A couple of directories on the website need authentication against LDAP. The setup has been working for many years and all of a sudden is giving some issues.

The page asks for authentication and once login details are entered, either it throws an error "Page has moved" or "Please refresh your browser or reload the page".

As far as I am aware no configuration has been changed for LDAP or for Apache. The website runs on Windows Server 2003.

I am very much new to Apache and cannot seem to find any errors logged.

View 2 Replies View Related

SAMBA Speed Up

Aug 3, 2007

how can we ridiculously speed up SAMBA connections?

View 6 Replies View Related

Apache :: Local Authentication Is Not Working When LDAP Is Offline

Jan 10, 2014

Im having a problem where local authentication will not work when when the configured LDAP server is unavailble. When the ldap server is online I can authenticate fine against ldap and local file. However, when the ldap server is offline, I cannot authenticate with the user1 account. The browser just sits at a blank screen.

Ive searched a lot on this and found many examples, all very similar to my config below, but I still cannot failback authentication to local file when ldap is unavailable. Im running Apache/2.2.10. I have also tested this on 2.2.16 with the same results.

=======.htaccess==========================
AuthName "Server Access"
AuthType Basic
AuthBasicProvider file ldap
AuthUserFile /etc/apache2/htpasswd
AuthzLDAPAuthoritative off
AuthLDAPURL ldap://ldap.domain.com:389/OU=Users,DC=domain,DC=com?sAMAccountName

[Code]...

View 3 Replies View Related

Apache :: Configure And Implement Server With Ssl Using Ldap For Authentication

Apr 28, 2015

I have a class project that we are working on where we have to configure and implement an Apache server with ssl using ldap for authentication. I have documentation of literally everything I have done in the configuration. Everything seems to be fine with the config that I can tell. The client gets a prompt for username and password when they access the server ip address. However, once the correct username and password are entered, then the client receives a 500 internal server error message instead of the webpage: "Internal Server Error...The server encountered an internal error or misconfiguration and was unable to complete your request.

View 1 Replies View Related

Map Network Drive By Using Samba

Jun 30, 2005

This is a little samba guide from my own experiences of how to map a network drive under windows 2000 to a Linux server. I am not technical expert and this guide is the result from my trail and error.

What's Samba?

Samba allows Linux computers to share files and printers across a network connection. By using its SMB protocol, your Linux box can appear in Windows Network Neighborhood or My Network Places just like any other windows machine. You can share files this way, as well as printers. By using samba on my home network, for example, my Windows machines have access to a printer directly hooked up to my Linux box, and my Linux box has access to a printer directly hooked up to one of my Windows machines. In addition, everyone can access everyone else's shared files. You can see how samba can be very useful if you have a network of both Windows as well as Linux machines.

My OSs

Windows 2000
RHEL 3 (Redhat Enterprise Linus)

My goal

Map a network drive to Linux servers, so that I can access the Linux files under windows 2000.

Installation

Most Linux should have Samba already installed. But if it hasn't install, you can find at in http://rpmfind.net or using up2date command "up2date -i samba". You can also get it at http://www.samba.org

Then you can install it by tying the following Command:

Install:

rpm -i samba.rpm

Upgrade:

rpm -U samba.rpm

Configuration

Samba conf file is located at /etc/samba/smb.conf, allows you to specify which resources on the Linux machine you wish to share and who they can be accessed by.

Samba provide a full version conf if it's fresh install. But most of the times, we don't really need all of these options. So I provide my own conf here, which is rather simple, but it makes things work.

[global]
workgroup = WORKGROUP
server string = LinuxBOX
hosts allow = your_windows_machine_IP
log file = /var/log/samba/%m.log
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[Downloads]
comment = Downloads
path = /path_to_your_sharefolder
browseable = yes
writable = yes
public = yes
read only = no

[homes]
comment = My Home Directory
browseable = yes
writable = yes
public = yes
read only = no

[printers]
path = /var/spool/samba
public = yes
guest ok = yes
printable = yes
browseable = yes
writable = yes
read only = no

Just replace workgroup to your windows workgroup name, your_windows_machine_IP and /path_to_your_sharefolder. If you don't need printers sharing, you don't need to have printer section.

Setup Samba Users

Since we're using user level security, we need to setup samba users. This can be easily done by using Webmin. You can go to Server --> Samba --> Convert Unix users to Samba users, you can just covert all your existing Linux users and set them password under the icon "Edit Samba users and passwords" later.

If you don't use webmin, you can also type the following command:

cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd

smbpasswd username

Replace username with each of your user's usernames. You will then be prompted to enter a password for this user account.

Samba Service

Now, it's time to start your samba server:

service smb start
service smb stop
service smb restart

Once the computer is restarted or shutdown, the samba service won't start up again in next boot up. I use webmin to make it startup at boot time.

Windows 2000 Configuration

1. Under windows 2000, you can got to windows explorer --> Tools --> map a network drive
2. select drive letter
3. enter the path (e.g. your_server_ipDownloads)
4. click connect using different user name
5. enter your samba usernaem and password that you just set
6. You can connect to your Linux machine now!

This method work for me. If there is any correction or improvements, please let me know.

View 0 Replies View Related

Getting Winbind To Work With Samba

Aug 1, 2008

Im running a redhat server with samba version 3.0.25b..

I dont think it even has winbind, and I need it to join the windows active domain so people can log in and access files etc..

ive searched everywhere to find a nice wget ftp url so i could get the rpm and just install the thing..but is nowhere to be found. I tried installing some random version of the winbind that I COULD find...but no luck, wouldnt work.

View 1 Replies View Related

Samba Installation: Libtalloc.so.1

Aug 6, 2008

I am trying to install samba-3.2.1 from source.

To give a short background, I download the src zip and unpack it to local.

go into the file and run a
./autogen.sh
./configure --with-winbind --prefix=/usr/local/samba --with-smbwrapper --with-pam --with-pam-smbpass
make
make install

When I try to run
/usr/local/samba/sbin/smbd -D
I get this message
Error while loading shared libraries : libtalloc.so.1 : cannot open shared object file: no such file or directory

I searched online and found this solution, which sounds like they know what they are talking about..only problem is..I dont!

[url]

View 3 Replies View Related

ProFTPd To Windows Over SAMBA

Mar 14, 2008

We've got a Linux box running ProFTPd reaches a Windows box over SAMBA. This works very well but when the client has a great number of files, the FTP Windows-based FTP clients they use don't always give accurate directory listings (if any at all). I know there's some bug in the way SAMBA works with Windows File Sharing but I don't know what the magic file number is that, when reached, prevents a proper directory listing. Does anyone know what this magic number is or if there's an available, tested fix for this?

View 3 Replies View Related

System Error 53 Samba

Apr 26, 2007

I was wondering if anyone has came across this error when dealing with SAMBA.

[url]is the error and the 'fix'.

I have about 50users that can connect just fine, running sp2 (xp pro) but some other users that have xp home or media center can't. There running sp2 and they still get the above error. In the article i need to contact MS for the hotfix...

Any quick fixes other then maybe changing then workgroup?

Netbios is enabled

All can ping the server.

Z drive is OK for use (IE there PC doesnt have a Z drive in use)

View 3 Replies View Related

Samba Chown Operation Not Permitted

May 22, 2007

I'm currently running SAMBA on one my linux servers, and wanting to connect to it from another linux server.

1. Do I need to install SAMBA on the connecting server (client-side)?

2. I can see/mount the SAMBA folder just fine, I can delete,make,etc. The only thing I can't do on the client side is change ownership of a file or folder... even if I'm logged in as root.

View 3 Replies View Related

Preserving The Same Permissions With Samba Mount

Jan 15, 2007

how to preserve permissions the same 1:1 after mounting the remote resource with samba mount cause currectly the permissions are changing.

View 2 Replies View Related

Plesk 12.x / Linux :: Samba Add On Fails

Jun 8, 2015

I think the samba add on for Plesk 12 is not correctly implemented for CentOS 7.To get smb users added I first had to manually install the samba-client, since smbpasswd was missing:

Code:
yum install samba-client Next I had to manually run

Code:
chcon -R -t samba_share_t /var/www/vhosts/my-server.tld/ for each share to be able to access it...

View 1 Replies View Related

Pure-ftp :: 425 Could Not Open Data Connection To Port 2535: Connection Timed Out

Apr 7, 2008

I have ftp server (pure-ftp). with firewall.

i allowed 20 and 21 port in "CSF" firewall

now when i or our client connect to the server connection done.

and the they fire dir or ls command they will receive error

"425 Could not open data connection to port 2535: Connection timed out"

what is the problem.i have already allowed passive port 2500:3500 then why i received this types of error

View 3 Replies View Related

Samba :: Isolate Different Users In A Directory And Subdirectories

Jun 24, 2008

I am trying to isolate different users in a directory and subdirectories.

Case:-

Directory A --> Sub A
--> Sub B
--> Sub C

I want everybody to be able to access "Directory A" but limited access to "Sub A", "Sub B" and "Sub C". How can i achieve that?

Currently, all users that are able to access "Directory A" can go in "Sub A", "Sub B" and "Sub C".

View 2 Replies View Related

Samba :: Tree Connect Failed: NT_STATUS_BAD_NETWORK_NAME

Apr 11, 2008

I have configured samba on my server but when i access shared directory but i can't its gives error.......

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.25b-1.el5_1.4]
Server not using user level security and no password supplied.
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

View 0 Replies View Related

Plesk 11.x / Windows :: Does Backup Support Samba Share

Mar 31, 2014

The scenario is like this I have Plesk + IIS + windows server and I want to store Plesk backups to a partition in linux server. So I have created a samba share and mounted it under the windows server. the issue showing is it is not possible to write to samba shared partition.

View 2 Replies View Related

Plesk 12.x / Linux :: How To Limit Samba Accesses To Certain IP / Ranges

Jul 18, 2014

Samba accesses can be restricted to certain IP / ranges through the access tab in the Plesk Samba extension screen.This builds the /etc/samba/ smb. conf.include file with entered information.All well and good so far.

This file contains the standard 'do not modify...' text, so making manual changes directly here is undesirable. In Plesk are some Linux commands such as /usr/local/psa/bin/php_handler through which permitted changes can be made from the command line.

Is there a similar command included which would allow a shell script to make changes in a supported manner like the /usr/local/psa/bin/php_handler file does? any changes the script makes can be seen in the Plesk Panel and unless admin changes them through the panel will be persistent.

View 2 Replies View Related

Plesk 12.x / Linux :: Setup VPM Tunneling - Access Samba Share From Server

Aug 18, 2014

I have a rented VPS with 2TB of disk space and a plesk license in order to host the sites that i develop and my sites, and found myself with around 1.8TB of free space, plesk samba management and plesk vpn management but with few missing pieces for my idea. My idea was to setup vpn tunneling between my laptop and desktop to plesk server and access samba share from the server like they were in my LAN.In the firewall I have opened only the classic mail and web ports (obviously plesk access too).

View 2 Replies View Related

Samba Server :: Can Linux And Windows Exist On The Same Server?

Jan 10, 2008

I have a linux server for a video sharring site

The video encoder that I prefer to use will only work in a windows enviorment

The windows server would pass off the converted video to the Linux server.

Will a Samba server for Linux allow a Linux machine to connect and share files with a Windows machine work for this application.

Although it's probably a dumb question but can Linux and Windows exist on the same server?

View 3 Replies View Related

Connection- VPS

May 14, 2008

i do a tracert on my VPS and get the attached results. My location is South Africa. Lately it just seems a bit sluggish. Can somebody please do a tracert from USA and EU for me please to do a comparisons or advice me on this VPS

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved