Re: [Samba] Desiring to set up Windows Vista and Linux Fedora Core 4 Samba; brand new subscriber
Barry L. Bond wrote: Greetings! I am a brand new subscriber to this mailing list. I will try to be kind and humble, and I would appreciate if anyone reading this could offer to help me set this up, I would appreciate it. I have 192.168 addresses, and I will openly share whatever information you may need to help me figure this out. Thank you very much! I look forward to possibly working with you. Barry I read your entire post and am still not sure of what you want. Can you define the roles that the various computers will be playing vis-a-vis Samba - such as: Vista: Samba client Fedora: Linux file server Solaris: does not participate However, what I generally recommend is that you install and use SWAT on your Samba server. The configuration wizard works quite well. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Desiring to set up Windows Vista and Linux Fedora Core 4 Samba; brand new subscriber
On 22/08/09 05:28, Barry L. Bond wrote: --snip-- First, let me tell you what I'm trying to set up. I recently got a new Windows Vista computer. And, I'm running Linux Fedora Core 4, and Sun Solaris 8. I am desiring to get the Samba on my Linux FC4 and the separate Windows computer "talking". :-) I would be worried about you using FC4, if it's facing the web. I would maybe replace it with CentOS 5.x, as you seem to keep them a while. --snip-- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] NT_STATUS_HOST_UNREACHABLE when trying to access Linux system samba share
> I am getting this message when trying to access Samba shares on a linux > system. > I have 2 linux computers and one Win XP system. I can see/access/read/write on > all the WinXP shares from all systems. I can only access the Linux shares on > the > local system, that is linux1 can see it's own Samba shares, but can't see or > access the shares on linux2. the reverse is true for linux2 as well. I am > resigning myself to having keep a windows box around just to act as a file > server for the linux systems (yech!). Does anyone know what might cause this > message? It sounds like an IP misconfiguration or a firewall configured to block CIFS. Can you telnet from linux1 to linux2 and vice versa on port 445? Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba wants "chdir"
> Aug 31 10:09:21 Server smbd[20793]: Unable to open new log file /var/log/ > samba/schulung.log: Permission denied > Aug 31 10:09:28 Server smbd[20793]: [2009/08/31 10:09:28, 0] smbd/service.c: > set_current_service(49) > Aug 31 10:09:28 Server smbd[20793]: chdir (/home/adm) failed > > > - > > a) why can't samba open this one file (but all other files in "/var/log/ > samba", for the clients which are connected directly to the server) > The file exists; root:root, 644 It would seem that if only root can write to the log file, and Samba doesn't have access, then Samba must not be root. Try deleting the file (if it exists) and set the folder to 777. Run Samba, then look for the log file and see who owns it. Probably the user trying to connect. > b) which machine or program asks "chdir /home/adm"? That's a DOS > command, no Linux command. > > "/home/adm" exists, it's a Samba share. Yes, it is a DOS command because you're receiving commands from a fancy version of DOS (i.e. Windows.) It's not a command, it's the name of the SMB/CIFS operation Samba is trying to perform. My guess is that whichever user Samba is running as does not have access to /home/adm. chmod a+x /home/adm should fix the problem ;-) Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] migrating DOS attributes
Mark Nienberg wrote: I've decided to modernize my samba installation by switching to storing dos attributes as extended attributes on the linux file sytem. It would be nice to convert the dos attributes that are currently "mapped" into the new extended attributes. I found this page on the samba wiki: http://wiki.samba.org/index.php/Migration_Tools but the link to the perl script is dead and the author's email address is invalid. Does anyone have the perl script or an equivalent tool? If so, can you post it to the wiki or make it available some other way? Never mind, I found the original author and he kindly emailed the script to me. He also said he would try to put it back up on a website and correct the link on the wiki page. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] NT_STATUS_HOST_UNREACHABLE when trying to access Linux system samba share
I am getting this message when trying to access Samba shares on a linux system. I have 2 linux computers and one Win XP system. I can see/access/read/write on all the WinXP shares from all systems. I can only access the Linux shares on the local system, that is linux1 can see it's own Samba shares, but can't see or access the shares on linux2. the reverse is true for linux2 as well. I am resigning myself to having keep a windows box around just to act as a file server for the linux systems (yech!). Does anyone know what might cause this message? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] migrating DOS attributes
Mark Nienberg wrote: I've decided to modernize my samba installation by switching to storing dos attributes as extended attributes on the linux file system. It would be nice to convert the dos attributes that are currently "mapped" into the new extended attributes. I found this page on the samba wiki: http://wiki.samba.org/index.php/Migration_Tools but the link to the perl script is dead and the author's email address is invalid. Does anyone have the perl script or an equivalent tool? If so, can you post it to the wiki or make it available some other way? Nobody? I guess I'll have to write a script myself. I really only care about the read-only attribute, so I guess it shouldn't be too hard. I hate to duplicate the work that was already done though. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Problems with groups using samba + ldap
A little debug about it: samba log: [2009/08/31 16:24:21, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 4422 Primary group is 513 and contains 12 supplementary groups Group[ 0]: 513 Group[ 1]: 2129 Group[ 2]: 512 Group[ 3]: 544 Group[ 4]: 548 Group[ 5]: 549 Group[ 6]: 550 Group[ 7]: 551 Group[ 8]: 552 Group[ 9]: 2037 Group[ 10]: 2134 Group[ 11]: 2141 id fotanus uid=4422(fotanus) gid=513(Domain Users) groups=513(Domain Users),2129(dadmins),4352(coord_tds),2141(proxy_Total) This is very strange... Regards, Marcelo H. Terres mhter...@gmail.com ICQ: 6649932 MSN: mhter...@hotmail.com Jabber: mhter...@jabber.org http://twitter.com/mhterres http://identi.ca/mhterres http://mhterres.jaiku.com/ http://mundoopensource.blogspot.com/ http://offtopicsandfun.blogspot.com/ http://www.propus.com.br Sent from Porto Alegre, RS, Brazil On Mon, Aug 31, 2009 at 6:15 PM, Marcelo Terres wrote: > Hi, > > I'm using Ubuntu 8.04 with samba 3.028a (ubuntu package) +LDAP and I'm > getting an odd problem. > > I have a user and this user had 4 groups (1 principal and 3 complementary) > > if I run id in the console of samba server the command returns 4 > groups (so LDAP is working fine). > > But when I'm trying to access a samba share (with log level 5), I noticed > that samba returns that the user had 12 complementary groups (he had before, > but now we changed to just 4, and one of them is a new group that doesn't > appear in this list) > > Is there some cache that I can flush ? I tried net cache flush but the > problem persist. > > Anybody can help me ? > > Regards, > > Marcelo H. Terres > mhter...@gmail.com > > ICQ: 6649932 > MSN: mhter...@hotmail.com > Jabber: mhter...@jabber.org > http://twitter.com/mhterres > http://identi.ca/mhterres > http://mhterres.jaiku.com/ > > http://mundoopensource.blogspot.com/ > http://offtopicsandfun.blogspot.com/ > http://www.propus.com.br > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Question about remote users and groups management
Hi all, I have a RHEL5-update 3 x86_64 system, and I installed Samba 3.2.14-40 (from http://ftp.sernet.com/pub/samba/tested/rhel/5/x86_64/ ). I'm using OpenLDAP ( 2.3.43-3.el5 ,comes with RHEL5u3) as backend for winbind+samba in my PDC. With samba-3.0.33 that comes with RHEL5u3, i dont get that "eventlogadm" works how explain in http://wiki.samba.org/index.php/Event_Logging: For this reason I upgraded samba to 3.2.14-40. And now, all works fine. I have read http://wiki.samba.org/index.php/Ldapsam_Editposix and i noticed the last section: "Managing your DB". Then, I have read "Oreilly, Using Samba 3rd". In the 9th chapter ( http://book.opensourceproject.org.cn/sysadmin/samba/sambao3rd/opensource/0596007698/samba3-chp-9-sect-7.html ), section 7th, i can see tree figures: 9-14, 9-17 and 9-19, are shown compmgmt.msc from a workstation Windows XP/2k3, connected remotely to SLES9 computer (linux with samba3), and it shows the "Users and Groups Management". And ... here's my question: this should works in a PDC Samba 3.2 that uses as backend LDAP+winbind? ... because I can't get works. - From the console of Windows XP can create users and groups in my domain, using NET USER/GROUP command perfectly. - From Windows NT4SP6 can also create users and groups with user management, as stated at chapter 9.2 (http://book.opensourceproject.org.cn/sysadmin/samba/sambao3rd/opensource/0596007698/samba3-chp-9-sect-2.html) - From Windows 2003, when i run dsa.msc and try to connect to my PDC, It can't connect to domain pre-windows 2000, which I expected, because it seems that is a feature in Samba4. ... and I'm confused because i don't know if samba3.2 should work or not, as shows these figures. Here I show my samba configuration file for my PDC: ---8
[Samba] Problems with groups using samba + ldap
Hi, I'm using Ubuntu 8.04 with samba 3.028a (ubuntu package) +LDAP and I'm getting an odd problem. I have a user and this user had 4 groups (1 principal and 3 complementary) if I run id in the console of samba server the command returns 4 groups (so LDAP is working fine). But when I'm trying to access a samba share (with log level 5), I noticed that samba returns that the user had 12 complementary groups (he had before, but now we changed to just 4, and one of them is a new group that doesn't appear in this list) Is there some cache that I can flush ? I tried net cache flush but the problem persist. Anybody can help me ? Regards, Marcelo H. Terres mhter...@gmail.com ICQ: 6649932 MSN: mhter...@hotmail.com Jabber: mhter...@jabber.org http://twitter.com/mhterres http://identi.ca/mhterres http://mhterres.jaiku.com/ http://mundoopensource.blogspot.com/ http://offtopicsandfun.blogspot.com/ http://www.propus.com.br -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] default profile
my computer properties, advanced tab, user profiles. is user set to local and not roaming? does it only happen to certain users? or users that authenticate against the BDC? Tamás Pisch wrote: Hi, I installed a SaMBa PDC and a BDC. When I log in to an XP client with a new user, sometimes I get the initial profile settings from the netlogon share, but often from local. When I get the local default settings, it is not syncronized to the server at logout. Even if I get the new profile from the server, on the same client, next time, with a new user, I get the new profile from local. I don't understand why, and I didn't get error message/log. PDC's smb.conf: [global] dos charset = CP852 unix charset = UTF8 workgroup = PERCZELMOR server string = %h - PERCZELMOR PDC interfaces = 127.0.0.0/8, eth0 bind interfaces only = Yes passdb backend = ldapsam:"ldap://127.0.0.1:389"; log level = 1 auth:2 log file = /var/log/samba/log.%m max log size = 1000 smb ports = 139 name resolve order = wins host bcast time server = Yes printcap name = /etc/printcap rename user script = /usr/sbin/smbldap-usermod -r '%unew' '%uold' add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" add machine script = /usr/sbin/smbldap-useradd -w "%u" logon script = scripts\logon.cmd logon path = \\SRV3\profiles\%U logon drive = H: logon home = \\SRV3\%U domain logons = Yes preferred master = Yes wins support = Yes ldap admin dn = cn=su,dc=perczelmor,dc=site ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap machine suffix = ou=People ldap passwd sync = Yes ldap suffix = dc=perczelmor,dc=site ldap ssl = no ldap user suffix = ou=People eventlog list = Security, Application, Syslog usershare max shares = 0 usershare path = /home/samba/usershares panic action = /usr/share/samba/panic-action %d idmap uid = 1-2 idmap gid = 1-2 create mask = 0777 map acl inherit = Yes veto oplock files = /*.pdf/*.pst/ browseable = No csc policy = disable [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = Yes fake oplocks = Yes [profiles] comment = Users profiles path = /home/samba/profiles read only = No create mask = 0600 directory mask = 0700 profile acls = Yes BDC's smb.conf: [global] dos charset = CP852 unix charset = UTF8 workgroup = PERCZELMOR server string = %h - PERCZELMOR BDC interfaces = 127.0.0.0/8, eth0 bind interfaces only = Yes passdb backend = ldapsam:"ldap://127.0.0.1:389"; syslog = 2 log file = /var/log/samba/log.%m max log size = 1000 smb ports = 139 name resolve order = wins host bcast time server = Yes printcap name = /etc/printcap logon script = scripts\logon.cmd logon path = \\SRV3\profiles\%U logon drive = H: logon home = \\SRV3\%U domain logons = Yes domain master = No dns proxy = No wins server = 192.168.0.3 ldap admin dn = cn=su,dc=perczelmor,dc=site ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap machine suffix = ou=People ldap passwd sync = Yes ldap suffix = dc=perczelmor,dc=site ldap ssl = no ldap user suffix = ou=People eventlog list = Security, Application, Syslog usershare max shares = 0 panic action = /usr/share/samba/panic-action %d idmap uid = 1-2 idmap gid = 1-2 map acl inherit = Yes veto oplock files = /*.pdf/*.pst/ browseable = No [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = Yes fake oplocks = Yes Any idea? What can I check/change? Thanks, in advance. Tamas. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] default profile
Hi, I installed a SaMBa PDC and a BDC. When I log in to an XP client with a new user, sometimes I get the initial profile settings from the netlogon share, but often from local. When I get the local default settings, it is not syncronized to the server at logout. Even if I get the new profile from the server, on the same client, next time, with a new user, I get the new profile from local. I don't understand why, and I didn't get error message/log. PDC's smb.conf: [global] dos charset = CP852 unix charset = UTF8 workgroup = PERCZELMOR server string = %h - PERCZELMOR PDC interfaces = 127.0.0.0/8, eth0 bind interfaces only = Yes passdb backend = ldapsam:"ldap://127.0.0.1:389"; log level = 1 auth:2 log file = /var/log/samba/log.%m max log size = 1000 smb ports = 139 name resolve order = wins host bcast time server = Yes printcap name = /etc/printcap rename user script = /usr/sbin/smbldap-usermod -r '%unew' '%uold' add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" add machine script = /usr/sbin/smbldap-useradd -w "%u" logon script = scripts\logon.cmd logon path = \\SRV3\profiles\%U logon drive = H: logon home = \\SRV3\%U domain logons = Yes preferred master = Yes wins support = Yes ldap admin dn = cn=su,dc=perczelmor,dc=site ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap machine suffix = ou=People ldap passwd sync = Yes ldap suffix = dc=perczelmor,dc=site ldap ssl = no ldap user suffix = ou=People eventlog list = Security, Application, Syslog usershare max shares = 0 usershare path = /home/samba/usershares panic action = /usr/share/samba/panic-action %d idmap uid = 1-2 idmap gid = 1-2 create mask = 0777 map acl inherit = Yes veto oplock files = /*.pdf/*.pst/ browseable = No csc policy = disable [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = Yes fake oplocks = Yes [profiles] comment = Users profiles path = /home/samba/profiles read only = No create mask = 0600 directory mask = 0700 profile acls = Yes BDC's smb.conf: [global] dos charset = CP852 unix charset = UTF8 workgroup = PERCZELMOR server string = %h - PERCZELMOR BDC interfaces = 127.0.0.0/8, eth0 bind interfaces only = Yes passdb backend = ldapsam:"ldap://127.0.0.1:389"; syslog = 2 log file = /var/log/samba/log.%m max log size = 1000 smb ports = 139 name resolve order = wins host bcast time server = Yes printcap name = /etc/printcap logon script = scripts\logon.cmd logon path = \\SRV3\profiles\%U logon drive = H: logon home = \\SRV3\%U domain logons = Yes domain master = No dns proxy = No wins server = 192.168.0.3 ldap admin dn = cn=su,dc=perczelmor,dc=site ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap machine suffix = ou=People ldap passwd sync = Yes ldap suffix = dc=perczelmor,dc=site ldap ssl = no ldap user suffix = ou=People eventlog list = Security, Application, Syslog usershare max shares = 0 panic action = /usr/share/samba/panic-action %d idmap uid = 1-2 idmap gid = 1-2 map acl inherit = Yes veto oplock files = /*.pdf/*.pst/ browseable = No [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = Yes fake oplocks = Yes Any idea? What can I check/change? Thanks, in advance. Tamas. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba wants "chdir"
Hallo, one of my colleagues has problems with Samba (V 3.0.32). Samba runs on a Linux server (Slackware 2.6.29.6), some clients are attached via a Windows Terminalserver. Wiederum war auf dem Windows-TS 1(!) User in die Arktur3.6 -Domäne für ca 20 Minuten angemeldet und hat dabei ca 4400 Meldungen in die /var/log/messages geschrieben. Diese beginnen mit: (my bad translation: 1 client was attached, it produced about 4400 messages within 20 minutes) Aug 31 10:09:21 Server smbd[20793]: [2009/08/31 10:09:21, 0] lib/debug.c: reopen_logs(597) Aug 31 10:09:21 Server smbd[20793]: Unable to open new log file /var/log/ samba/schulung.log: Permission denied Aug 31 10:09:28 Server smbd[20793]: [2009/08/31 10:09:28, 0] smbd/service.c: set_current_service(49) Aug 31 10:09:28 Server smbd[20793]: chdir (/home/adm) failed - a) why can't samba open this one file (but all other files in "/var/log/ samba", for the clients which are connected directly to the server) The file exists; root:root, 644 b) which machine or program asks "chdir /home/adm"? That's a DOS command, no Linux command. "/home/adm" exists, it's a Samba share. Viele Gruesse! Helmut -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Profiles updates...
From: Hansjörg Maurer > we had a strange problem like you decribe to. > It was related to the > nvidia display driver services Yeah, I already stopped the Nvidia service. With the service, the profiles were not saved at all... Thx, JD -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Multiple instances of /usr/bin/smbd -D
On Mon, Aug 31, 2009 at 11:38:31AM +0200, MAD's Graphics wrote: > The strace return nothing ... There is no activity on the "old" PID, > i.e. they stay but they do nothing, only take resources on the server ... strace should at least have told you which syscall they hang in. If not, it is very surprising that you can kill them with -9. What syscall is it? Volker signature.asc Description: Digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Profiles updates...
Hi we had a strange problem like you decribe to. It was related to the nvidia display driver services Have a look at http://forums.nvidia.com/index.php?showtopic=85358 (if the nvidia display driver service is running on the affected system) regards Hansjörg John Doe wrote: > Hi, > > I have a little problem with my profiles... > When a user creates a new file; it correctly appears in its profile on the > server when the profile is saved. > But, when he deletes a file; it is not deleted from its profile on the server. > In the mean time, he can connect to his profile folder on the server and > delete them manualy... > Any idea what could be the problem? > I looked at the logs (lvl 1) and don't see any error messages... > > [Profiles] >path = /home/SAMBA/ >browseable = no >writable = yes >profile acls = Yes >map read only = Permissions >create mode = 0600 >directory mask = 0700 >csc policy = disable >nt acl support = no >hide files = /desktop.ini/ntuser.ini/NTUSER.*/ > > [Profiles.V2] >copy = Profiles > > Thx, > JD > > > > > -- _ Deutsches Zentrum fuer Luft- und Raumfahrt e.V. in der Helmholtz-Gemeinschaft Institut fuer Robotik und Mechatronik Dr. Hansjörg Maurer LAN- und Systemmanager Münchner Strasse 20 82234 Wessling Germany Telefon: 08153/28-2431 Telefax: 08153/28-1134 E-Mail: hansjoerg.mau...@dlr.de Internet: http://www.robotic.dlr.de/ __ There are 10 types of people in this world, those who understand binary and those who don't. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Multiple instances of /usr/bin/smbd -D
The strace return nothing ... There is no activity on the "old" PID, i.e. they stay but they do nothing, only take resources on the server ... The debug log file doesn't list any error, but I don't know what I am supposed to search ... I don't know what to do whithout perform a complete reinstall from scratch, but I'm not sure that it solves the problem ... Matt' Le 30 août 09 à 19:20, Volker Lendecke a écrit : On Sun, Aug 30, 2009 at 01:39:51PM +0200, MAD's Graphics wrote: They stay until I kill them with "kill -9" ... No time limit ... So, I can "kill -9" ... Ok, then you might want to try finding out what they do. increase the debuglevel and/or strace the smbds. Volker -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Profiles updates...
Hi, I have a little problem with my profiles... When a user creates a new file; it correctly appears in its profile on the server when the profile is saved. But, when he deletes a file; it is not deleted from its profile on the server. In the mean time, he can connect to his profile folder on the server and delete them manualy... Any idea what could be the problem? I looked at the logs (lvl 1) and don't see any error messages... [Profiles] path = /home/SAMBA/ browseable = no writable = yes profile acls = Yes map read only = Permissions create mode = 0600 directory mask = 0700 csc policy = disable nt acl support = no hide files = /desktop.ini/ntuser.ini/NTUSER.*/ [Profiles.V2] copy = Profiles Thx, JD -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba