[Samba] Samba(PDC)+LDAP+XPpro cannot join domain /w XP pro machine
fatima riadi
ftmriadi at yahoo.fr
Thu Mar 17 08:09:21 GMT 2005
I am runing into a similar problem.
The difference is that when I enter the admin passwd
to join my domain, a session failes to be opened...
For you, I'd suggest that you check your password
encryption type if it is set correctly...
--- Steven Jacobs <jstevenjacobs at yahoo.com> a écrit :
> I receive an "Access is Denied" error after provide
> the Administrator
> username and password when trying to join my Samba
> domain. Has anyone
> run into this??
>
>
---log.smbd---------------------------------------------
> [2005/03/14 19:37:19, 2]
> lib/interface.c:add_interface(79)
> added interface ip=192.168.2.4 bcast=192.168.2.255
> nmask=255.255.255.0
> [2005/03/14 19:37:19, 2]
> lib/tallocmsg.c:register_msg_pool_usage(57)
> Registered MSG_REQ_POOL_USAGE
> [2005/03/14 19:37:19, 2]
> lib/dmallocmsg.c:register_dmalloc_msgs(71)
> Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
> [2005/03/14 19:37:19, 2]
> smbd/server.c:open_sockets_smbd(324)
> waiting for a connection
> [2005/03/14 19:38:05, 2]
> lib/smbldap.c:smbldap_search_domain_info(1373)
> Searching
>
for:[(&(objectClass=sambaDomain)(sambaDomainName=SRSCORP))]
> [2005/03/14 19:38:05, 2]
> lib/smbldap.c:smbldap_open_connection(692)
> smbldap_open_connection: connection opened
> [2005/03/14 19:38:05, 1]
> lib/smbldap.c:add_new_domain_info(1343)
> failed to add domain dn=
> sambaDomainName=SRSCORP,dc=srsmanagement,dc=com
> with: Already exists
>
> [2005/03/14 19:38:05, 0]
> lib/smbldap.c:smbldap_search_domain_info(1392)
> Adding domain info for SRSCORP failed with
> NT_STATUS_UNSUCCESSFUL
> [2005/03/14 19:38:05, 2]
> passdb/pdb_ldap.c:pdb_init_ldapsam(2959)
> pdb_init_ldapsam: WARNING: Could not get domain
> info, nor add one to
> the domain
> pdb_init_ldapsam: Continuing on regardless, will
> be unable to allocate
> new users/groups, and will risk BDCs having
> inconsistant SIDs
> [2005/03/14 19:38:06, 2]
> lib/smbldap.c:smbldap_search_domain_info(1373)
> Searching
>
for:[(&(objectClass=sambaDomain)(sambaDomainName=SRSCORP))]
> [2005/03/14 19:38:06, 2]
> lib/smbldap.c:smbldap_open_connection(692)
> smbldap_open_connection: connection opened
> [2005/03/14 19:38:06, 2]
> lib/smbldap.c:smbldap_search_domain_info(1373)
> Searching
>
for:[(&(objectClass=sambaDomain)(sambaDomainName=SRSCORP))]
> [2005/03/14 19:38:06, 2]
> lib/smbldap.c:smbldap_open_connection(692)
> smbldap_open_connection: connection opened
> [2005/03/14 19:38:06, 1]
> lib/smbldap.c:add_new_domain_info(1343)
> failed to add domain dn=
> sambaDomainName=SRSCORP,dc=srsmanagement,dc=com
> with: Already exists
>
> [2005/03/14 19:38:06, 0]
> lib/smbldap.c:smbldap_search_domain_info(1392)
> Adding domain info for SRSCORP failed with
> NT_STATUS_UNSUCCESSFUL
> [2005/03/14 19:38:06, 2]
> passdb/pdb_ldap.c:pdb_init_ldapsam(2959)
> pdb_init_ldapsam: WARNING: Could not get domain
> info, nor add one to
> the domain
> pdb_init_ldapsam: Continuing on regardless, will
> be unable to allocate
> new users/groups, and will risk BDCs having
> inconsistant SIDs
> [2005/03/14 19:38:06, 1]
> lib/smbldap.c:add_new_domain_info(1343)
> failed to add domain dn=
> sambaDomainName=SRSCORP,dc=srsmanagement,dc=com
> with: Already exists
>
> [2005/03/14 19:38:06, 0]
> lib/smbldap.c:smbldap_search_domain_info(1392)
> Adding domain info for SRSCORP failed with
> NT_STATUS_UNSUCCESSFUL
> [2005/03/14 19:38:06, 2]
> passdb/pdb_ldap.c:pdb_init_ldapsam(2959)
> pdb_init_ldapsam: WARNING: Could not get domain
> info, nor add one to
> the domain
> pdb_init_ldapsam: Continuing on regardless, will
> be unable to allocate
> new users/groups, and will risk BDCs having
> inconsistant SIDs
>
------------------------------------------------------------------
>
>
---smb.conf--------------------------------------------------------
> [global]
> workgroup = SRSCORP
> netbios name = mail1
> enable privileges = yes
> interfaces = 192.168.2.4
> username map = /etc/samba/smbusers
> server string = Samba Server %v
> security = user
> encrypt passwords = Yes
> min passwd length = 3
> obey pam restrictions = No
> #unix password sync = Yes
> #passwd program =
> /usr/local/sbin/smbldap-passwd -u %u
> #passwd chat = "Changing password for*\nNew
> password*" %n\n "*Retype
> new password*" %n\n"
> ldap passwd sync = Yes
> log level = 2
> syslog = 0
> log file = /var/log/samba/log.%m
> max log size = 100000
> time server = Yes
> socket options = TCP_NODELAY SO_RCVBUF=8192
> SO_SNDBUF=8192
> mangling method = hash2
> Dos charset = 850
> Unix charset = ISO8859-1
>
> logon script = logon.bat
> logon drive = H:
> logon home =
> logon path =
>
> domain logons = Yes
> os level = 65
> preferred master = Yes
> domain master = Yes
> wins support = Yes
> passdb backend = ldapsam:ldap://127.0.0.1/
> # passdb backend =
> ldapsam:"ldap://127.0.0.1/
> ldap://slave.srsmanagement.com"
> # ldap filter =
> (&(objectclass=sambaSamAccount)(uid=%u))
> ldap admin dn =
> cn=samba,ou=DSA,dc=srsmanagement,dc=com
> ldap suffix = dc=srsmanagement,dc=com
> ldap group suffix = ou=Groups
> ldap user suffix = ou=Users
> ldap machine suffix = ou=Computers
> ldap idmap suffix = ou=Users
> # ldap ssl = start tls
> ldap ssl = no
> add user script =
> /usr/local/sbin/smbldap-useradd -m "%u"
> ldap delete dn = Yes
> #delete user script =
> /usr/local/sbin/smbldap-userdel "%u"
> add machine script =
> /usr/local/sbin/smbldap-useradd -w "%u"
> add group script =
> /usr/local/sbin/smbldap-groupadd -p "%g"
> #delete group script =
> /usr/local/sbin/smbldap-groupdel "%g"
> add user to group script =
> /usr/local/sbin/smbldap-groupmod -m
> "%u" "%g"
> delete user from group script =
> /usr/local/sbin/smbldap-groupmod
> -x "%u" "%g"
> set primary group script =
> /usr/local/sbin/smbldap-usermod -g "%
> g" "%u"
>
> # printers configuration
> printer admin = @"Print Operators"
> load printers = Yes
> create mask = 0640
> directory mask = 0750
> nt acl support = No
> printing = cups
> printcap name = cups
> deadtime = 10
> guest account = nobody
> map to guest = Bad User
> dont descend =
> /proc,/dev,/etc,/lib,/lost+found,/initrd
> show add printer wizard = yes
> ; to maintain capital letters in shortcuts
> in any of the profile
> folders:
> preserve case = yes
> short preserve case = yes
> case sensitive = no
>
> [homes]
> comment = repertoire de %U, %u
> read only = No
> create mask = 0644
>
=== message truncated ===
Découvrez nos promotions exclusives "destination de la Tunisie, du Maroc, des Baléares et la Rép. Dominicaine sur Yahoo! Voyages :
http://fr.travel.yahoo.com/promotions/mar14.html
More information about the samba
mailing list