Re: [Samba] If you ever wondered about Samba and the Golden Penguin Bowl and that suit...
Jeremy Allison wrote: I got a message from the organizer, for the first time the video feed of the Golden Penguin Bowl is available So if you never saw me making a complete fool of myself live, now's your chance to see it second hand :-) :-). John Mark Walker wrote : Hey ho... so the Golden Penguin Bowl video is now up, and you can get to it from http://www.linuxworldblog.com/ in that video, when it shows the like question screen after the example bonus question and the mouse goes over the image of the 2 guys... is that internet explorers little 4 icons that appear in the top left or am i just being silly? Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] If you ever wondered about Samba and the Golden Penguin Bowl and that suit...
Jeremy Allison wrote: I got a message from the organizer, for the first time the video feed of the Golden Penguin Bowl is available So if you never saw me making a complete fool of myself live, now's your chance to see it second hand :-) :-) . John Mark Walker wrote : Hey ho... so the Golden Penguin Bowl video is now up, and you can get to it from http://www.linuxworldblog.com/ in that video, when it shows the like question screen after the example bonus question and the mouse goes over the image of the 2 guys... is that internet explorers little 4 icons that appear in the top left or am i just being silly? Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Some files not showing...
lol, have you tried copying a file just like you did with the mp3 into that dir, i really cant see what the problem should be was thinking files names but then i have lond filename of files on samba so ... eh.. Matt. Markatomic01 wrote: Hi there Matt, I cahnged ownership of the whole directory from root to the user logging from windows. Still the mp3 is not showing up but the txt file is. Both the files are owned by the same user now. Any thoughts? thanks Mark -- View this message in context: http://www.nabble.com/Some-files-not-showing...-t1459162.html#a3949742 Sent from the Samba - General forum at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Some files not showing...
what does a ls -lha ./dir/ say ? does the txt file have the same permissions and owner to the mp3 file ? e.g. txt file is owned by user1 and mp3 file owned by root Matt. Markatomic01 wrote: Hi all, I have a samba server up and running connecting to windows XP. When I look in the directory I can see the .txt file i made but not an MP3 that i put in there. The dir in particular will be used for storing only mp3s so its important that i can see them from windows and play them using a mapped network drive. Any help greatly appreciated Thanks Mark -- View this message in context: http://www.nabble.com/Some-files-not-showing...-t1459162.html#a3943580 Sent from the Samba - General forum at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Win and linux shared filesystem with chmod support for linux side?
Hello :) I have a current setup of apache serving websites for users, apache is using cgiwrap for all scripts so the filesystem needs to support chmod and chown stuff. This would all be good and dandy if everything was linux based, however, .. the whole setup needs the ablity to parse asp files as its needed for teaching ! I setup apache with something like this (ignoring all the php, perl, python, etc setup) ... AddHandler application/x-httpd-asp .asp Action application/x-httpd-asp /cgi-bin/asp-parse and asp-parse just contains a line that will make lynx -source ask a windows box for the html output of a asp file. It works really well and i thought i had everything sorted out as linux was mounting the filesystem using cifs (the users files are stored on the windows box atm, but they could be easily moved) which looked like its supported chmod and chown but .. when new files are uploaded via ftp the chown of the files are set to root:root and not userid:users which means cgiwrap dies saying the UID is wrong. is this because its nor supported on win2000? This isn't a good thing to have, even if the users had the ablity to change the ownership of files because 1) most users that are using this dont know what a UID is and 2) its annoying! I have tried mounting a linux filesystem on windows which works gr8 appart from the fact that IIS has some stupid thing todo with authentication and hosting sites off UNC paths, y? i have no idea just seems like a load of rubbish to me! and every nfs server i have found for windows either 1) dosn't support chown and chmod at all and just ignores it or 2) requires uid's to be mapped to windows user accounts, these users dont have windows accounts on this server. So i really need a way to mount filesystems off a windows box that support proper chmod'in and chown'in that isn't broken. Windows only needs read only access to everything dont care about complucated permissions n any of that. y is it always microsofts stuff that gets in the way and makes everything annoying? I think my best bet would be to uptgrade to win2003 ? or is this a cifs problem ?, does anybody have any other ideas about how i could make this work ? Cheers, Matt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] win2003 access smb share
i would of thought that would be a problem with the server not being able to resolv the samba name what does .. ping samba from XP and 2k3 show ? If you run a wins server like the win2k3 server i would just add a mapping for samba to the ip addr of the samba server .. or if you have a dns suffix of say hello.com setup then adding a dns entry of samba.hello.com should allow them to resolv it when they contact samba or you could just shove an entry in your hosts file on your server lol. Matt. [EMAIL PROTECTED] wrote: Hi all, What I got: Samba running on a RH box, smb version 3.0.10-1 My smb.conf has the following: Security = server Windows 2003 AD server(Authentication server) The samba server smb.conf points to the win2003 server for authentication. This works great! Samba users can access there stuff(files, printers, shares). Problem: The windows 2003 server cannot access shares? For example: c:\net use x: \\samba\printers ---error "network name not found" --- Although the XP clients have no problems, they can access access samba shares, and they are authenticating with windows 2003 server. I have also made the change to the windows 2003 server "Digitally sign communications" disabled thinnking this might be the casue of the problem. Some other notes: The windows 2003 server was a 2000 server, upgraded. I know this is more of a windows problem, but the windows server can access other 2003/2000 servers through "net use x: \\someMSbox\share" with no problems. The win3k server cannot access any samba server share! Is there another security policy edit I have to do to win3k? Hope I provided enough detail. Any help, thoughts is appreciated. thanks, jerry -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] CIFS on freebsd
hello everybody :) I have a current setup of linux and i'm mounting a windows share using cifs. Its all gr8 n everything cus i can set linux permissions on the cifs mount which i couldn't do with smbfs Now I want to add a freebsd into everything however i cant seem to find much on mounting cifs shares on freebsd. Dosn't anybody knonw much about this .. all i wanna do is mount this windows share so i can set / read linux file permissions and ownerships. Cheers, Matt. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba LDAP rootpw error
> Sorry Matt, I've got it going now - at least to the point of getting the > smbldap-populate to work. The next issue is smbpasswd -a root. It's not > working. Also, I've installed phpldapadmin and can't get it to connect > either. The issue now seems to be a TLS connection between Samba and > LDAP. I didn't think I was using one, but LDAP seems to think otherwise. > For example, both phpldapadmin and lsmbldap-usermod -J Administrator > complain about TLS connections to the LDAP server. > > I've been looking at the idealx.org instructions for TLS with LDAP but > still not getting it working. > > > --- > > Further to the above: > Trying to get TLS working is a pain. I've also had only slightly better > luck with trying to not use it. When I don't use it, I can get > ldapsearch to return a result. However, Samba doesn't seem to want to > talk to it. When I try to get TLS running, I get TLS errors everywhere. :( > > > Right now I've got it configured, I believe, to not use TLS. When I run > smbpasswd, I get: > > semper:/etc/smbldap-tools# smbpasswd -a root > fetch_ldap_pw: neither ldap secret retrieved! > ldap_connect_system: Failed to retrieve password from secrets.tdb > Connection to LDAP server failed for the 1 try! > :) glad its working, hehe er. ldap_connect_system: Failed to retrieve password from secrets.tdb from the http://samba.idealx.org/smbldap-tools.en.html doc ... don't forget to also set the samba account password in secrets.tdb file : smbpasswd -w samba ... from man smbpasswd ... -w password This parameter is only available if Samba has been compiled with LDAP support. The -w switch is used to specify the password to be used with theldap admin dn. Note that the password is stored in the secrets.tdb and is keyed off of the admin's DN. This means that if the value of ldap admin dn ever changes, the pass- word will need to be manually updated as well. HTH Matt. > I've attached my various .conf files again. Sorry to be such a pain, but > I am not having any luck by myself. > > - > > BTW - Here's the results of an ldapsearch: > > semper:/var/lib/ldap# smbldap-populate -a Administrator -b nobody > -semper:/var/lib/ldap# ldapsearch -D cn=admin,dc=rahim-dale,dc=org -b > dc=rahim-dale,dc=org -h 127.0.0.1 -x -W "" > Enter LDAP Password: > # extended LDIF > # > # LDAPv3 > # base with scope sub > # filter: (objectclass=*) > # requesting: > # > > # rahim-dale.org > dn: dc=rahim-dale,dc=org > > # admin, rahim-dale.org > dn: cn=admin,dc=rahim-dale,dc=org > > # Users, rahim-dale.org > dn: ou=Users,dc=rahim-dale,dc=org > > # Groups, rahim-dale.org > dn: ou=Groups,dc=rahim-dale,dc=org > > # Computers, rahim-dale.org > dn: ou=Computers,dc=rahim-dale,dc=org > > # Idmap, rahim-dale.org > dn: ou=Idmap,dc=rahim-dale,dc=org > > # rahim-dale, rahim-dale.org > dn: sambaDomainName=rahim-dale,dc=rahim-dale,dc=org > > # Administrator, Users, rahim-dale.org > dn: uid=Administrator,ou=Users,dc=rahim-dale,dc=org > > # nobody, Users, rahim-dale.org > dn: uid=nobody,ou=Users,dc=rahim-dale,dc=org > > # Domain Admins, Groups, rahim-dale.org > dn: cn=Domain Admins,ou=Groups,dc=rahim-dale,dc=org > > # Domain Users, Groups, rahim-dale.org > dn: cn=Domain Users,ou=Groups,dc=rahim-dale,dc=org > > # Domain Guests, Groups, rahim-dale.org > dn: cn=Domain Guests,ou=Groups,dc=rahim-dale,dc=org > > # Domain Computers, Groups, rahim-dale.org > dn: cn=Domain Computers,ou=Groups,dc=rahim-dale,dc=org > > # Administrators, Groups, rahim-dale.org > dn: cn=Administrators,ou=Groups,dc=rahim-dale,dc=org > > # Print Operators, Groups, rahim-dale.org > dn: cn=Print Operators,ou=Groups,dc=rahim-dale,dc=org > > # Backup Operators, Groups, rahim-dale.org > dn: cn=Backup Operators,ou=Groups,dc=rahim-dale,dc=org > > # Replicators, Groups, rahim-dale.org > dn: cn=Replicators,ou=Groups,dc=rahim-dale,dc=org > > # search result > search: 2 > result: 0 Success > > # numResponses: 18 > # numEntries: 17 > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba LDAP rootpw error
> Matt Richards wrote: > >>>Matt Richards wrote: >>> >>> >>> >>>>>Matt Richards wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>>Matt Richards wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>>Matt Richards wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>>>I was following the howto below (originally posted on this list >>>>>>>>>>> as >>>>>>>>>>>BIG >>>>>>>>>>>Samba howto for debian only.) to see if I could get my >>>>>>>>>>>not-quite-working >>>>>>>>>>>Samba 3.0.14a (debian) server fully working and able to handle >>>>>>>>>>> my >>>>>>>>>>>Linux >>>>>>>>>>>logins too. The problem I'm having with my Samba setup is that I >>>>>>>>>>>can't >>>>>>>>>>>change user passwords except through Swat. Users can't change >>>>>>>>>>> them >>>>>>>>>>>from >>>>>>>>>>>their machines using the Windows password change - but they are >>>>>>>>>>>notified >>>>>>>>>>>to change them by when they expire. >>>>>>>>>>> >>>>>>>>>>>Anyway, my attempts to follow the howto hit a roadblock at "3 >>>>>>>>>>> LDAP >>>>>>>>>>>Server configuration". Neither slapindex nor slapd will run. It >>>>>>>>>>>looks >>>>>>>>>>>like it doesn't like something about my root password, but I'm >>>>>>>>>>> not >>>>>>>>>>>sure >>>>>>>>>>>what it wants (I'm no expert on LDAP). :) >>>>>>>>>>> >>>>>>>>>>>Slapindex complains "bad configuration file". Slapd gives the >>>>>>>>>>> more >>>>>>>>>>>detailed: >>>>>>>>>>>line 65 (rootpw ***) >>>>>>>>>>>/etc/ldap/slapd.conf: line 65: rootpw can only be set when >>>>>>>>>>> rootdn >>>>>>>>>>>is >>>>>>>>>>>under suffix >>>>>>>>>>> >>>>>>>>>>>I've attached my slapd.conf file if that is of any assistance. >>>>>>>>>>> Any >>>>>>>>>>>help >>>>>>>>>>>will be greatly appreciated. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>Louis van Belle wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>[..snip..] >>>>>>>>>> >>>>>>>>>>humm well looking at the config file the first thing that i >>>>>>>>>> notice >>>>>>>>>>is >>>>>>>>>>this >>>>>>>>>>... >>>>>>>>>> >>>>>>>>>># The base of your directory in database #1 >>>>>>>>>>suffix "dc=rahim-dale,dc=org" >>>>>>>>>>rootdn"cn=admin,dc=toron
Re: [Samba] Samba LDAP rootpw error
> Matt Richards wrote: > >>>Matt Richards wrote: >>> >>> >>> >>>>>Matt Richards wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>>Matt Richards wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>>I was following the howto below (originally posted on this list as >>>>>>>>>BIG >>>>>>>>>Samba howto for debian only.) to see if I could get my >>>>>>>>>not-quite-working >>>>>>>>>Samba 3.0.14a (debian) server fully working and able to handle my >>>>>>>>>Linux >>>>>>>>>logins too. The problem I'm having with my Samba setup is that I >>>>>>>>>can't >>>>>>>>>change user passwords except through Swat. Users can't change them >>>>>>>>>from >>>>>>>>>their machines using the Windows password change - but they are >>>>>>>>>notified >>>>>>>>>to change them by when they expire. >>>>>>>>> >>>>>>>>>Anyway, my attempts to follow the howto hit a roadblock at "3 LDAP >>>>>>>>>Server configuration". Neither slapindex nor slapd will run. It >>>>>>>>>looks >>>>>>>>>like it doesn't like something about my root password, but I'm not >>>>>>>>>sure >>>>>>>>>what it wants (I'm no expert on LDAP). :) >>>>>>>>> >>>>>>>>>Slapindex complains "bad configuration file". Slapd gives the more >>>>>>>>>detailed: >>>>>>>>>line 65 (rootpw ***) >>>>>>>>>/etc/ldap/slapd.conf: line 65: rootpw can only be set when rootdn >>>>>>>>>is >>>>>>>>>under suffix >>>>>>>>> >>>>>>>>>I've attached my slapd.conf file if that is of any assistance. Any >>>>>>>>>help >>>>>>>>>will be greatly appreciated. >>>>>>>>> >>>>>>>>> >>>>>>>>>Louis van Belle wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>[..snip..] >>>>>>>> >>>>>>>>humm well looking at the config file the first thing that i notice >>>>>>>> is >>>>>>>>this >>>>>>>>... >>>>>>>> >>>>>>>># The base of your directory in database #1 >>>>>>>>suffix "dc=rahim-dale,dc=org" >>>>>>>>rootdn"cn=admin,dc=toronto,dc=ontario,dc=ca" >>>>>>>> >>>>>>>> >>>>>>>>your root dn isn't in the base of your ldap tree, this should >>>>>>>> probuly >>>>>>>>be >>>>>>>>something like ... >>>>>>>> >>>>>>>>suffix "dc=rahim-dale,dc=org" >>>>>>>>rootdn"cn=admin,dc=rahim-dale,dc=org" >>>>>>>> >>>>>>>>try it n let us know what happens :). >>>>>>>> >>>>>>>>HTH >>>>>>>> >>>>>>>>Matt. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>You got it in one! I've got slapd running. >>>>>>> >>>>>>>Now I'm stuck at "5.4 set the samba ldap admin password". I can set >>>>>
Re: [Samba] Samba LDAP rootpw error
> Matt Richards wrote: > >>>Matt Richards wrote: >>> >>> >>> >>>>>Matt Richards wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>>I was following the howto below (originally posted on this list as >>>>>>> BIG >>>>>>>Samba howto for debian only.) to see if I could get my >>>>>>>not-quite-working >>>>>>>Samba 3.0.14a (debian) server fully working and able to handle my >>>>>>>Linux >>>>>>>logins too. The problem I'm having with my Samba setup is that I >>>>>>> can't >>>>>>>change user passwords except through Swat. Users can't change them >>>>>>>from >>>>>>>their machines using the Windows password change - but they are >>>>>>>notified >>>>>>>to change them by when they expire. >>>>>>> >>>>>>>Anyway, my attempts to follow the howto hit a roadblock at "3 LDAP >>>>>>>Server configuration". Neither slapindex nor slapd will run. It >>>>>>> looks >>>>>>>like it doesn't like something about my root password, but I'm not >>>>>>>sure >>>>>>>what it wants (I'm no expert on LDAP). :) >>>>>>> >>>>>>>Slapindex complains "bad configuration file". Slapd gives the more >>>>>>>detailed: >>>>>>> line 65 (rootpw ***) >>>>>>> /etc/ldap/slapd.conf: line 65: rootpw can only be set when rootdn >>>>>>> is >>>>>>>under suffix >>>>>>> >>>>>>>I've attached my slapd.conf file if that is of any assistance. Any >>>>>>>help >>>>>>>will be greatly appreciated. >>>>>>> >>>>>>> >>>>>>>Louis van Belle wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>[..snip..] >>>>>> >>>>>>humm well looking at the config file the first thing that i notice is >>>>>>this >>>>>>... >>>>>> >>>>>># The base of your directory in database #1 >>>>>>suffix "dc=rahim-dale,dc=org" >>>>>>rootdn"cn=admin,dc=toronto,dc=ontario,dc=ca" >>>>>> >>>>>> >>>>>>your root dn isn't in the base of your ldap tree, this should probuly >>>>>>be >>>>>>something like ... >>>>>> >>>>>>suffix "dc=rahim-dale,dc=org" >>>>>>rootdn"cn=admin,dc=rahim-dale,dc=org" >>>>>> >>>>>>try it n let us know what happens :). >>>>>> >>>>>>HTH >>>>>> >>>>>>Matt. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>You got it in one! I've got slapd running. >>>>> >>>>>Now I'm stuck at "5.4 set the samba ldap admin password". I can set >>>>> the >>>>>admin password and get the expected response, but when I try >>>>>"smbldap-populate -a Administrator -b nobody -u 2000 -g 2000", it >>>>> fails >>>>>to add the various groups. I get "failed to add entry: modifications >>>>>require authentication at /usr/sbin/smbldap-populate line 460, >>>>>line 3." for each ou= it tries to add. >>>>> >>>>>Any ideas? >>>>> >>>>> >>>>> >>>>> >>>>the smbldap-populate scripts requires authentication to the ldap server >>>>there is probuly a problem with the login you have set in smbldap.conf >>>> .. >>>>if you have set any at! >>>> >>>>i would recommend looking through the smbldap-tools howto at >>>>http://samba.idealx.org/smbldap-tools.en.html >>>>and see if there is anything you have missed out,
Re: [Samba] Samba LDAP rootpw error
> Matt Richards wrote: > >>>Matt Richards wrote: >>> >>> >>> >>>>>I was following the howto below (originally posted on this list as BIG >>>>>Samba howto for debian only.) to see if I could get my >>>>> not-quite-working >>>>>Samba 3.0.14a (debian) server fully working and able to handle my >>>>> Linux >>>>>logins too. The problem I'm having with my Samba setup is that I can't >>>>>change user passwords except through Swat. Users can't change them >>>>> from >>>>>their machines using the Windows password change - but they are >>>>> notified >>>>>to change them by when they expire. >>>>> >>>>>Anyway, my attempts to follow the howto hit a roadblock at "3 LDAP >>>>>Server configuration". Neither slapindex nor slapd will run. It looks >>>>>like it doesn't like something about my root password, but I'm not >>>>> sure >>>>>what it wants (I'm no expert on LDAP). :) >>>>> >>>>>Slapindex complains "bad configuration file". Slapd gives the more >>>>>detailed: >>>>> line 65 (rootpw ***) >>>>> /etc/ldap/slapd.conf: line 65: rootpw can only be set when rootdn is >>>>>under suffix >>>>> >>>>>I've attached my slapd.conf file if that is of any assistance. Any >>>>> help >>>>>will be greatly appreciated. >>>>> >>>>> >>>>>Louis van Belle wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>[..snip..] >>>> >>>>humm well looking at the config file the first thing that i notice is >>>>this >>>>... >>>> >>>># The base of your directory in database #1 >>>>suffix "dc=rahim-dale,dc=org" >>>>rootdn"cn=admin,dc=toronto,dc=ontario,dc=ca" >>>> >>>> >>>>your root dn isn't in the base of your ldap tree, this should probuly >>>> be >>>>something like ... >>>> >>>>suffix "dc=rahim-dale,dc=org" >>>>rootdn"cn=admin,dc=rahim-dale,dc=org" >>>> >>>>try it n let us know what happens :). >>>> >>>>HTH >>>> >>>>Matt. >>>> >>>> >>>> >>>> >>>> >>>You got it in one! I've got slapd running. >>> >>>Now I'm stuck at "5.4 set the samba ldap admin password". I can set the >>>admin password and get the expected response, but when I try >>>"smbldap-populate -a Administrator -b nobody -u 2000 -g 2000", it fails >>>to add the various groups. I get "failed to add entry: modifications >>>require authentication at /usr/sbin/smbldap-populate line 460, >>>line 3." for each ou= it tries to add. >>> >>>Any ideas? >>> >>> >> >>the smbldap-populate scripts requires authentication to the ldap server >>there is probuly a problem with the login you have set in smbldap.conf .. >>if you have set any at! >> >>i would recommend looking through the smbldap-tools howto at >>http://samba.idealx.org/smbldap-tools.en.html >>and see if there is anything you have missed out, but the first thing i >>would try is this .. >> >>... >>3 Configuring the smbldap-tools >>As mentioned in the previous section, you'll have to update two >>configuration files. The first (smbldap.conf) allows you to set global >>parameter that are readable by everybody, and the second >>(smbldap_bind.conf) defines two administrative accounts to bind to a >> slave >>and a master ldap server: this file must thus be readable only by root. A >>script is named configure.pl can help you to set their contents up. It is >>located in the tarball downloaded or in the documentation directory if >> you >>got the RPM archive (see /usr/share/doc/smbldap-tools/). Just invoke it: >> >>/usr/share/doc/smbldap-tools/configure.pl >>... >> >>note : the smbldap-tools dir might not be located in your /usr/share/doc/ >>directory. >> >>if this doesn't work you could attach your smbldap config file (with the >>passwd taken out of cause) so we can have a little look. >&g
Re: [Samba] Samba LDAP rootpw error
> Matt Richards wrote: > >>>I was following the howto below (originally posted on this list as BIG >>>Samba howto for debian only.) to see if I could get my not-quite-working >>>Samba 3.0.14a (debian) server fully working and able to handle my Linux >>>logins too. The problem I'm having with my Samba setup is that I can't >>>change user passwords except through Swat. Users can't change them from >>>their machines using the Windows password change - but they are notified >>>to change them by when they expire. >>> >>>Anyway, my attempts to follow the howto hit a roadblock at "3 LDAP >>>Server configuration". Neither slapindex nor slapd will run. It looks >>>like it doesn't like something about my root password, but I'm not sure >>>what it wants (I'm no expert on LDAP). :) >>> >>>Slapindex complains "bad configuration file". Slapd gives the more >>>detailed: >>> line 65 (rootpw ***) >>> /etc/ldap/slapd.conf: line 65: rootpw can only be set when rootdn is >>>under suffix >>> >>>I've attached my slapd.conf file if that is of any assistance. Any help >>>will be greatly appreciated. >>> >>> >>>Louis van Belle wrote: >>> >>> >>> >>[..snip..] >> >>humm well looking at the config file the first thing that i notice is >> this >>... >> >># The base of your directory in database #1 >>suffix "dc=rahim-dale,dc=org" >>rootdn"cn=admin,dc=toronto,dc=ontario,dc=ca" >> >> >>your root dn isn't in the base of your ldap tree, this should probuly be >>something like ... >> >>suffix "dc=rahim-dale,dc=org" >>rootdn"cn=admin,dc=rahim-dale,dc=org" >> >>try it n let us know what happens :). >> >>HTH >> >>Matt. >> >> >> > You got it in one! I've got slapd running. > > Now I'm stuck at "5.4 set the samba ldap admin password". I can set the > admin password and get the expected response, but when I try > "smbldap-populate -a Administrator -b nobody -u 2000 -g 2000", it fails > to add the various groups. I get "failed to add entry: modifications > require authentication at /usr/sbin/smbldap-populate line 460, > line 3." for each ou= it tries to add. > > Any ideas? the smbldap-populate scripts requires authentication to the ldap server there is probuly a problem with the login you have set in smbldap.conf .. if you have set any at! i would recommend looking through the smbldap-tools howto at http://samba.idealx.org/smbldap-tools.en.html and see if there is anything you have missed out, but the first thing i would try is this .. ... 3 Configuring the smbldap-tools As mentioned in the previous section, you'll have to update two configuration files. The first (smbldap.conf) allows you to set global parameter that are readable by everybody, and the second (smbldap_bind.conf) defines two administrative accounts to bind to a slave and a master ldap server: this file must thus be readable only by root. A script is named configure.pl can help you to set their contents up. It is located in the tarball downloaded or in the documentation directory if you got the RPM archive (see /usr/share/doc/smbldap-tools/). Just invoke it: /usr/share/doc/smbldap-tools/configure.pl ... note : the smbldap-tools dir might not be located in your /usr/share/doc/ directory. if this doesn't work you could attach your smbldap config file (with the passwd taken out of cause) so we can have a little look. Matt. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba LDAP rootpw error
> I was following the howto below (originally posted on this list as BIG > Samba howto for debian only.) to see if I could get my not-quite-working > Samba 3.0.14a (debian) server fully working and able to handle my Linux > logins too. The problem I'm having with my Samba setup is that I can't > change user passwords except through Swat. Users can't change them from > their machines using the Windows password change - but they are notified > to change them by when they expire. > > Anyway, my attempts to follow the howto hit a roadblock at "3 LDAP > Server configuration". Neither slapindex nor slapd will run. It looks > like it doesn't like something about my root password, but I'm not sure > what it wants (I'm no expert on LDAP). :) > > Slapindex complains "bad configuration file". Slapd gives the more > detailed: >line 65 (rootpw ***) >/etc/ldap/slapd.conf: line 65: rootpw can only be set when rootdn is > under suffix > > I've attached my slapd.conf file if that is of any assistance. Any help > will be greatly appreciated. > > > Louis van Belle wrote: > [..snip..] humm well looking at the config file the first thing that i notice is this ... # The base of your directory in database #1 suffix "dc=rahim-dale,dc=org" rootdn"cn=admin,dc=toronto,dc=ontario,dc=ca" your root dn isn't in the base of your ldap tree, this should probuly be something like ... suffix "dc=rahim-dale,dc=org" rootdn"cn=admin,dc=rahim-dale,dc=org" try it n let us know what happens :). HTH Matt. >> >> > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NTUSER.DAT
Hiya, I have never tried to copy the NTUSER.DAT file before but if i would need to i would go about it by either using the recovery console, by putting the drive in another windows pc or by using the ntfs fs module on linux. Have you tired any of these methods ? Matt. > > I am attempting to get a copy of NTUSER.DAT so that I can put it on my Samba3 PDC server. Everything I have tried has resulted in a "sharing violation" error. All of these "xcopy /h", "copy" and ftp have failed. Those of you who successfully copied it, how did you go about getting a copy so you could put it on your Samba3 PDC server? > The NTUSER.DAT file is located on a Windows 2000 PDC server. > > Thanks, > > Guru > > -- > To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba