Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need help. I have a Fedora Core 3 Server running. The server is up2date. I am able to join the domain with a windows XP computer. but i am not able to login. For the cinfiguration i pretty much followed www.idealx.org/prj/samba/smbldap-howto.en.html . I have created the user mastapuffy in ldap with smbladp-tools. I want to be able to use Windows Xp in the domain and will be addin a win98 and a suse server soon to the domain. What is my mistake? thx
at My Network places i am able to see the Samba server and when klickin gon it am able to access it with the Masta user and pw. There i then can access the shares. But as said i cant login to the domain then starting the windows client.
testparm of smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[doc]"
Processing section "[netlogon]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
# Global parameters
[global]
dos charset = 850
unix charset = ISO8859-1
workgroup = HOME-NET
netbios name = SERVER
server string = Samba Server
obey pam restrictions = Yes
passdb backend = ldapsam:ldap://127.0.0.1/
log file = /var/log/samba/%m.log
max log size = 50
server signing = auto
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
printcap name = /etc/printcap
add user script = /usr/local/sbin/smbldap-useradd -m "%u"
add group script = /usr/local/sbin/smbldap-groupadd -p "%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-groupadd -p "%g"
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
domain logons = Yes
preferred master = Yes
domain master = Yes
dns proxy = No
ldap admin dn = cn=Manager,dc=MASTAPUFFY,dc=COM
ldap delete dn = Yes
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap passwd sync = Yes
ldap suffix = dc=MASTAPUFFY,dc=COM
ldap ssl = no
ldap user suffix = ou=Users
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw
[homes]
comment = Home Directories
valid users = %U
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[doc]
path = /usr/share/doc
read only = No
create mask = 0750
guest ok = Yes
[netlogon]
comment = The domain logon service
path = /usr/local/samba/netlogon
ldap.conf
host 127.0.0.1
base dc=MASTAPUFFY,dc=COM
rootbinddn cn=nssldap,ou=DSA,dc=MASTAPUFFY,dc=COM
nss_base_passwd dc=MASTAPUFFY,dc=COM?sub
nss_base_shadow dc=MASTAPUFFY,dc=COM?sub
nss_base_group ou=Groups,dc=MASTAPUFFY,dc=COM?one
ssl no
pam_password md5
sldap.conf
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/samba.schema
allow bind_v2
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
access to attrs=userPassword,sambaLMPassword,sambaNTPassword
by self write
by anonymous auth
by * none
access to *
by * read
database ldbm
suffix "dc=MASTAPUFFY,dc=COM"
rootdn "cn=Manager,dc=MASTAPUFFY,dc=com"
rootpw mypassword
directory /var/lib/ldap
index objectClass,uidNumber,gidNumber eq
index cn,sn,uid,displayName pres,sub,eq
index memberUid,mail,givenname eq,subinitial
index sambaSID,sambaPrimaryGroupSID,sambaDomainName eq
Give people time to look into it. This is voluntary and you have provided a fair bit of information to look through.
Try looking through other posts to see if this has been raised before.
I also require help setting up authentication for Samba - I would like the users registered on my server as users to be used for the authentication - how can I achieve this?
Distribution: Ubunto and slowly switching to debian
Posts: 308
Rep:
i had this problembefor but cant remember how i fixed it! i will have a look at my smb.conf on my server soon and see if ther is anything in there for you
Did you figure this one out? I have the same trouble, can add machine accounts, log in from everything except XP, can browse from non-logged in XP. I have had this working before but cannot find the difference between configs. If it is any help I get these two messages from /var/log/samba/log.test and /var/log/samba/log.192.168.10.128, where test is the XP machine name and 192.168.10.128 is its IP address:
log.test
smbd/connection_yield.c:yield_connection(69)
Yeilding connection to
smbd/connection_yield.c:yield_connection(76)
yield_connection: tdb_delete for name failed with error Record does not exist. ****notice the double space between name and failed, maybe this is trying to delete a blank user
Futher up in the logs there is a definate successful reply to the user logon however, once this is done there is this unknown attempt with no user and no domain.
Hope we can sought this out, did you get the same messages in your logs?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.