[Samba] Windows 2000 Server
Hello, we using Samba3 as an PDC Server with LDAP. To manage the Profiles of our user local, we use a registry key (HKLM/Software/Policies/Microsoft/Windows/System/LocalProfile DWORD)! But unfortunetly it only works on the Client Sytems as 2000 and XP. We needen it to work also on our Windows 2000 Servers! Is there anybody who has any idee? thanks Ambrusits -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba and Windows XP
I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] how to submit patches ? (patch for pdb_xml.c included)
Dear Sirs, I wrote a patch for pdbedit (pdb_xml.c) which handles cases with national alphabet characters in GECOS fields. I sent it directly to Jelmer Vernooij, but there was no answer. Who can review the supplied patch ? Cheers, Ilia Chipitsine--- pdb_xml.c.orig Tue Aug 31 12:12:02 2004 +++ pdb_xml.c Tue Aug 31 12:12:07 2004 @@ -373,6 +373,7 @@ fstring sid_str; xmlNodePtr cur, user, pass, root; pdb_xml *data; +char *fullname_utf8; DEBUG(10, (xmlsam_add_sam_account called!\n)); @@ -427,8 +428,14 @@ if (pdb_get_nt_username(u) strcmp(pdb_get_nt_username(u), )) xmlNewChild(user, data-ns, nt_username, pdb_get_nt_username(u)); - if (pdb_get_fullname(u) strcmp(pdb_get_fullname(u), )) - xmlNewChild(user, data-ns, fullname, pdb_get_fullname(u)); +if(push_utf8_allocate(fullname_utf8,pdb_get_fullname(u)) == (size_t)-1){ + return NT_STATUS_NO_MEMORY; +} + + if (fullname_utf8 strcmp(fullname_utf8, )) + xmlNewChild(user, data-ns, fullname, fullname_utf8); + + SAFE_FREE(fullname_utf8); if (pdb_get_homedir(u) strcmp(pdb_get_homedir(u), )) xmlNewChild(user, data-ns, homedir, pdb_get_homedir(u)); @@ -497,7 +504,7 @@ xmlNewChild(user, data-ns, bad_password_count, iota(pdb_get_bad_password_count(u))); xmlNewChild(user, data-ns, logon_count, iota(pdb_get_logon_count(u))); xmlNewChild(user, data-ns, unknown_6, iota(pdb_get_unknown_6(u))); - xmlSaveFile(data-location, data-doc); + xmlSaveFileEnc(data-location, data-doc,UTF-8); return NT_STATUS_OK; } -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Character encoding problems
I have tried with the following settings in smb.conf unix charset set to {UTF8, ISO8859-1, ASCII} display charset (altough i afterward understood that it did only affect the messages from samba to stdout and stderr) set to {UTF8, LOCALE} Also, I have tried setting iocharset when mounting to {utf8, iso8859-1} Citerar Dimitar Vassilev [EMAIL PROTECTED]: Â îòãîâîð íà [EMAIL PROTECTED]: Hi, I am having problem with filenames in a Linux Samba server - Linux Samba Client setup. The server has filenames with lanugage specific characters (åäö) in them. When mounted on the Linux workstation the characters are replaced by question marks. If I connect to the server with a Windows machine there is no problem with the characters. Also, if I connect with smbclient to the shares instead of mounting them, the filenames show up correctly. The local system has it locale set to sv_SE.UTF-8 and is using Samba version 3.0 the server is running Samba 2 but I have no access to it except for the shares so I'm not sure. I have tried setting the unix charset, dos charset and display charset but it has not helped at all. Thankful for any help. Johan Andrén -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba how about trying utf in fstab and config? Johan Andrén IT-Tekniker Fackförbundet ST -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and Windows XP
Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and Windows XP
I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and Windows XP
Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba I think that samba will allways ask you for username and password, when try to connect. Maybe you should do some configuration with your windows machine. Try to log on your win box with the same username and pass, as you created them on samba server. , and if it works it could be problem with win configuration,... or Check samba status/etc/init.d/smb status /etc/init.d/nmb status or Check local file permission on share that you want to access. Samba is configured to allow access to share to Jason, but local file permission should be configured to allow him access to. When you try to access some share, it's chesked local and share permission. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and Windows XP
Samba appears to be up [EMAIL PROTECTED] samba]# /etc/init.d/smb status smbd (pid 1988) is running... nmbd (pid 1992) is running... Local file permissions on the directory appear to be fine [EMAIL PROTECTED] home]# ls -al /home/jason total 24 drwxr-xr-x 2 jason jason 4096 Aug 31 15:05 . drwxr-xr-x 4 root root 4096 Aug 31 13:20 .. -rw--- 1 jason jason 34 Sep 15 21:07 .bash_history -rw-r--r-- 1 jason jason 24 Aug 31 13:20 .bash_logout -rw-r--r-- 1 jason jason 191 Aug 31 13:20 .bash_profile -rw-r--r-- 1 jason jason 124 Aug 31 13:20 .bashrc [EMAIL PROTECTED] home]# My Windows XP account name is Jason with the same password that I use for samba. I do not see anywhere in windows where I can configure anything. When I go into My Network Places on Windows XP and choose View Workgroup Computers. I see the samba server icon. When I double click it it does not give me any prompt for a username and password. It just pops up that error message that I pasted in my initial email. If there is an area in Windows XP that I need to configure. Please let me know Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:32 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba I think that samba will allways ask you for username and password, when try to connect. Maybe you should do some configuration with your windows machine. Try to log on your win box with the same username and pass, as you created them on samba server. , and if it works it could be problem with win configuration,... or Check samba status/etc/init.d/smb status /etc/init.d/nmb status or Check local file permission on share that you want to access. Samba is configured to allow access to share to Jason, but local file permission should be configured to allow him access to. When you try to access some share, it's chesked local and share permission. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and Windows XP
Jason Johnson wrote: Samba appears to be up [EMAIL PROTECTED] samba]# /etc/init.d/smb status smbd (pid 1988) is running... nmbd (pid 1992) is running... Local file permissions on the directory appear to be fine [EMAIL PROTECTED] home]# ls -al /home/jason total 24 drwxr-xr-x 2 jason jason 4096 Aug 31 15:05 . drwxr-xr-x 4 root root 4096 Aug 31 13:20 .. -rw--- 1 jason jason 34 Sep 15 21:07 .bash_history -rw-r--r-- 1 jason jason 24 Aug 31 13:20 .bash_logout -rw-r--r-- 1 jason jason 191 Aug 31 13:20 .bash_profile -rw-r--r-- 1 jason jason 124 Aug 31 13:20 .bashrc [EMAIL PROTECTED] home]# My Windows XP account name is Jason with the same password that I use for samba. I do not see anywhere in windows where I can configure anything. When I go into My Network Places on Windows XP and choose View Workgroup Computers. I see the samba server icon. When I double click it it does not give me any prompt for a username and password. It just pops up that error message that I pasted in my initial email. If there is an area in Windows XP that I need to configure. Please let me know Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:32 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba I think that samba will allways ask you for username and password, when try to connect. Maybe you should do some configuration with your windows machine. Try to log on your win box with the same username and pass, as you created them on samba server. , and if it works it could be problem with win configuration,... or Check samba status/etc/init.d/smb status /etc/init.d/nmb status or Check local file permission on share that you want to access. Samba is configured to allow access to share to Jason, but local file permission should be configured to allow him access to. When you try to access some share, it's chesked local and share permission. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba Default in smb.conf is encrypt password = yes Win XP will send encripted password. I hope that you did not change this option. Check this option. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and Windows XP
Jason Johnson wrote: Samba appears to be up [EMAIL PROTECTED] samba]# /etc/init.d/smb status smbd (pid 1988) is running... nmbd (pid 1992) is running... Local file permissions on the directory appear to be fine [EMAIL PROTECTED] home]# ls -al /home/jason total 24 drwxr-xr-x 2 jason jason 4096 Aug 31 15:05 . drwxr-xr-x 4 root root 4096 Aug 31 13:20 .. -rw--- 1 jason jason 34 Sep 15 21:07 .bash_history -rw-r--r-- 1 jason jason 24 Aug 31 13:20 .bash_logout -rw-r--r-- 1 jason jason 191 Aug 31 13:20 .bash_profile -rw-r--r-- 1 jason jason 124 Aug 31 13:20 .bashrc [EMAIL PROTECTED] home]# My Windows XP account name is Jason with the same password that I use for samba. I do not see anywhere in windows where I can configure anything. When I go into My Network Places on Windows XP and choose View Workgroup Computers. I see the samba server icon. When I double click it it does not give me any prompt for a username and password. It just pops up that error message that I pasted in my initial email. If there is an area in Windows XP that I need to configure. Please let me know Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:32 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba I think that samba will allways ask you for username and password, when try to connect. Maybe you should do some configuration with your windows machine. Try to log on your win box with the same username and pass, as you created them on samba server. , and if it works it could be problem with win configuration,... or Check samba status/etc/init.d/smb status /etc/init.d/nmb status or Check local file permission on share that you want to access. Samba is configured to allow access to share to Jason, but local file permission should be configured to allow him access to. When you try to access some share, it's chesked local and share permission. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba Do not have any idea. Try to set log parametar in smb.conf log file = /var/log/samba and increase log level log level = 3 Think default is 1. Restart samba service, and try to connect again to server, and after being rejected check log file, and see is there anythin could help. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and Windows XP
Hi, it could be a stupid thing to try, but I was thinking you could try to connect using net use. This way you provide credential even if you're not prompted. net use Z: \\ipsambaserver\sharename /USER:jason password:yourpassword Have a nice day Simone Jason Johnson wrote: Samba appears to be up [EMAIL PROTECTED] samba]# /etc/init.d/smb status smbd (pid 1988) is running... nmbd (pid 1992) is running... Local file permissions on the directory appear to be fine [EMAIL PROTECTED] home]# ls -al /home/jason total 24 drwxr-xr-x 2 jason jason 4096 Aug 31 15:05 . drwxr-xr-x 4 root root 4096 Aug 31 13:20 .. -rw--- 1 jason jason 34 Sep 15 21:07 .bash_history -rw-r--r-- 1 jason jason 24 Aug 31 13:20 .bash_logout -rw-r--r-- 1 jason jason 191 Aug 31 13:20 .bash_profile -rw-r--r-- 1 jason jason 124 Aug 31 13:20 .bashrc [EMAIL PROTECTED] home]# My Windows XP account name is Jason with the same password that I use for samba. I do not see anywhere in windows where I can configure anything. When I go into My Network Places on Windows XP and choose View Workgroup Computers. I see the samba server icon. When I double click it it does not give me any prompt for a username and password. It just pops up that error message that I pasted in my initial email. If there is an area in Windows XP that I need to configure. Please let me know Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:32 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba I think that samba will allways ask you for username and password, when try to connect. Maybe you should do some configuration with your windows machine. Try to log on your win box with the same username and pass, as you created them on samba server. , and if it works it could be problem with win configuration,... or Check samba status/etc/init.d/smb status /etc/init.d/nmb status or Check local file permission on share that you want to access. Samba is configured to allow access to share to Jason, but local file permission should be configured to allow him access to. When you try to access some share, it's chesked local and share permission. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Telefona con Email.it Phone Card, tanti minuti di conversazione con il massimo del risparmio, clicca qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2687d=16-9 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and Windows XP
That gave me an invalid password error. Even though my password is correct. This is the strangest thing I have ever seen - Original Message - From: Simone [EMAIL PROTECTED] To: Jason Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 1:23 AM Subject: Re: [Samba] Samba and Windows XP Hi, it could be a stupid thing to try, but I was thinking you could try to connect using net use. This way you provide credential even if you're not prompted. net use Z: \\ipsambaserver\sharename /USER:jason password:yourpassword Have a nice day Simone Jason Johnson wrote: Samba appears to be up [EMAIL PROTECTED] samba]# /etc/init.d/smb status smbd (pid 1988) is running... nmbd (pid 1992) is running... Local file permissions on the directory appear to be fine [EMAIL PROTECTED] home]# ls -al /home/jason total 24 drwxr-xr-x 2 jason jason 4096 Aug 31 15:05 . drwxr-xr-x 4 root root 4096 Aug 31 13:20 .. -rw--- 1 jason jason 34 Sep 15 21:07 .bash_history -rw-r--r-- 1 jason jason 24 Aug 31 13:20 .bash_logout -rw-r--r-- 1 jason jason 191 Aug 31 13:20 .bash_profile -rw-r--r-- 1 jason jason 124 Aug 31 13:20 .bashrc [EMAIL PROTECTED] home]# My Windows XP account name is Jason with the same password that I use for samba. I do not see anywhere in windows where I can configure anything. When I go into My Network Places on Windows XP and choose View Workgroup Computers. I see the samba server icon. When I double click it it does not give me any prompt for a username and password. It just pops up that error message that I pasted in my initial email. If there is an area in Windows XP that I need to configure. Please let me know Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:32 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba I think that samba will allways ask you for username and password, when try to connect. Maybe you should do some configuration with your windows machine. Try to log on your win box with the same username and pass, as you created them on samba server. , and if it works it could be problem with win configuration,... or Check samba status/etc/init.d/smb status /etc/init.d/nmb status or Check local file permission on share that you want to access. Samba is configured to allow access to share to Jason, but local file permission should be configured to allow him access to. When you try to access some share, it's chesked local and share permission. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Unico, innovativo, effieciente: ti mandano un fax ricevi una mail e non spendi nulla per il canone fax...scopri come cliccando
[Samba] mount -t smbfs
SME Server 6.0.1 as standalone (Domain controler, mail file server) samba version 2.2.8a I have a win95 machine on my network logged onto the domain with it's d drive shared with full access and no password. On server-manager I have setup a hostname for this machine based on mac address so that the DHCP server gives it the same IP every time. I have created a directory /mnt/win I can ping the machine name 'tarryn' When I try: mount -t smbfs //tarryn/d /mnt/win I get the error: Connection to tarryn failed SMB connection failed If I try: mount -t smbfs //tarryn/d /mnt/win -o ip=192.168.196.44 then I get the error: session request to TARRYN failed (Called name not present) session request to *SMBSERVER failed (Called name not present) Can anyone please help, I am desperate! Thanks Scott -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] mount -t smbfs
On Thu, 2004-09-16 at 16:45, Scott Ainslie wrote: SME Server 6.0.1 as standalone (Domain controler, mail file server) samba version 2.2.8a I have a win95 machine on my network logged onto the domain with it's d drive shared with full access and no password. On server-manager I have setup a hostname for this machine based on mac address so that the DHCP server gives it the same IP every time. I have created a directory /mnt/win I can ping the machine name 'tarryn' When I try: mount -t smbfs //tarryn/d /mnt/win I get the error: Connection to tarryn failed SMB connection failed Can I ask if the firewall is the problem?? Have you checked it? If I try: mount -t smbfs //tarryn/d /mnt/win -o ip=192.168.196.44 then I get the error: session request to TARRYN failed (Called name not present) session request to *SMBSERVER failed (Called name not present) Can anyone please help, I am desperate! Thanks Scott -- Ow Mun Heng Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel 2.6.7-2.jul1-interactive Neuromancer 17:01:16 up 1 day, 7:45, 7 users, load average: 0.82, 0.88, 1.05 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] James Allen Did Not Receive Your Message
If you think I might want to or I might need to receive your email please resend it with Please Let Me In added anywhere in the subject line. In an attempt to stop the 750 junk email messages I get every day I have installed a very aggressive email filter. You are not included on my list of allowed senders; therefore, your message has been deleted, sorry. James Robert Allen; Technology Support Analyst, Senior Arizona State University, Ira A. Fulton School of Engineering Department of Computer Science and Engineering PO Box 875406, Tempe, AZ 85287-5406 (480) 965-2781 Fax: (480) 965-2751 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and Windows XP
Jason Johnson wrote: That gave me an invalid password error. Even though my password is correct. This is the strangest thing I have ever seen - Original Message - From: Simone [EMAIL PROTECTED] To: Jason Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 1:23 AM Subject: Re: [Samba] Samba and Windows XP That is an issue I run into repeatedly with Windows XP - it uses cached passwords. If you had made an error logging to a Samba server, XP won't even try to log you again second time, it will just report an error. I solve it by changing the samba password if it is not the same as the XP one, and then rebooting the XP client to forget all cached passwords. If passwords are the same, just reboot the XP box. I never get this behaviour with Win2K clients, though. Best, Nino -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and Windows XP
Just another easy try, did you install SP2 on XP? Is the firewall on? Cheers Simone Jason Johnson wrote: That gave me an invalid password error. Even though my password is correct. This is the strangest thing I have ever seen - Original Message - From: Simone [EMAIL PROTECTED] To: Jason Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 1:23 AM Subject: Re: [Samba] Samba and Windows XP Hi, it could be a stupid thing to try, but I was thinking you could try to connect using net use. This way you provide credential even if you're not prompted. net use Z: \\ipsambaserver\sharename /USER:jason password:yourpassword Have a nice day Simone Jason Johnson wrote: Samba appears to be up [EMAIL PROTECTED] samba]# /etc/init.d/smb status smbd (pid 1988) is running... nmbd (pid 1992) is running... Local file permissions on the directory appear to be fine [EMAIL PROTECTED] home]# ls -al /home/jason total 24 drwxr-xr-x 2 jason jason 4096 Aug 31 15:05 . drwxr-xr-x 4 root root 4096 Aug 31 13:20 .. -rw--- 1 jason jason 34 Sep 15 21:07 .bash_history -rw-r--r-- 1 jason jason 24 Aug 31 13:20 .bash_logout -rw-r--r-- 1 jason jason 191 Aug 31 13:20 .bash_profile -rw-r--r-- 1 jason jason 124 Aug 31 13:20 .bashrc [EMAIL PROTECTED] home]# My Windows XP account name is Jason with the same password that I use for samba. I do not see anywhere in windows where I can configure anything. When I go into My Network Places on Windows XP and choose View Workgroup Computers. I see the samba server icon. When I double click it it does not give me any prompt for a username and password. It just pops up that error message that I pasted in my initial email. If there is an area in Windows XP that I need to configure. Please let me know Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:32 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba I think that samba will allways ask you for username and password, when try to connect. Maybe you should do some configuration with your windows machine. Try to log on your win box with the same username and pass, as you created them on samba server. , and if it works it could be problem with win configuration,... or Check samba status/etc/init.d/smb status /etc/init.d/nmb status or Check local file permission on share that you want to access. Samba is configured to allow access to share to Jason, but local file permission should be configured to allow him access to. When you try to access some share, it's chesked local and share permission. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Unico, innovativo,
AW: [Samba] Samba and Windows XP
Hi, did you changed the encryption-settings in windows xp? just look under controll-panel - local security policies... just a hint: [homes] comment = Home Directories path = /home read only = No change the path to following: path = /home/%u the %u will bei expanded to your account name ...then you can delete the myshare section... -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Simone Gesendet: Donnerstag, 16. September 2004 11:06 An: Jason Johnson Cc: [EMAIL PROTECTED] Betreff: Re: [Samba] Samba and Windows XP Just another easy try, did you install SP2 on XP? Is the firewall on? Cheers Simone Jason Johnson wrote: That gave me an invalid password error. Even though my password is correct. This is the strangest thing I have ever seen - Original Message - From: Simone [EMAIL PROTECTED] To: Jason Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 1:23 AM Subject: Re: [Samba] Samba and Windows XP Hi, it could be a stupid thing to try, but I was thinking you could try to connect using net use. This way you provide credential even if you're not prompted. net use Z: \\ipsambaserver\sharename /USER:jason password:yourpassword Have a nice day Simone Jason Johnson wrote: Samba appears to be up [EMAIL PROTECTED] samba]# /etc/init.d/smb status smbd (pid 1988) is running... nmbd (pid 1992) is running... Local file permissions on the directory appear to be fine [EMAIL PROTECTED] home]# ls -al /home/jason total 24 drwxr-xr-x 2 jason jason 4096 Aug 31 15:05 . drwxr-xr-x 4 root root 4096 Aug 31 13:20 .. -rw--- 1 jason jason 34 Sep 15 21:07 .bash_history -rw-r--r-- 1 jason jason 24 Aug 31 13:20 .bash_logout -rw-r--r-- 1 jason jason 191 Aug 31 13:20 .bash_profile -rw-r--r-- 1 jason jason 124 Aug 31 13:20 .bashrc [EMAIL PROTECTED] home]# My Windows XP account name is Jason with the same password that I use for samba. I do not see anywhere in windows where I can configure anything. When I go into My Network Places on Windows XP and choose View Workgroup Computers. I see the samba server icon. When I double click it it does not give me any prompt for a username and password. It just pops up that error message that I pasted in my initial email. If there is an area in Windows XP that I need to configure. Please let me know Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:32 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba I think that samba will allways ask you for username and password, when try to connect. Maybe you
Re: [Samba] Samba and Windows XP
I will reboot XP again. Just so you know, I never even get the opportunity to login to samba through windows. as soon as I doubleclick the icon in My Network Places. It just spits out an error saying I do not have permissions or the network path could not be found - Original Message - From: Nikola Vanevski [EMAIL PROTECTED] To: Samba Mailing List [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 2:03 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: That gave me an invalid password error. Even though my password is correct. This is the strangest thing I have ever seen - Original Message - From: Simone [EMAIL PROTECTED] To: Jason Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 1:23 AM Subject: Re: [Samba] Samba and Windows XP That is an issue I run into repeatedly with Windows XP - it uses cached passwords. If you had made an error logging to a Samba server, XP won't even try to log you again second time, it will just report an error. I solve it by changing the samba password if it is not the same as the XP one, and then rebooting the XP client to forget all cached passwords. If passwords are the same, just reboot the XP box. I never get this behaviour with Win2K clients, though. Best, Nino -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [SPAM] AW: [Samba] Samba and Windows XP
I went ahead and made that change to smb.conf as you suggested. As far as the encryption settings in windows, I have not made any changes to those. Just a thought. I used smbpasswd to create the samba user 'jason'. however, my Windows XP user is 'Jason' Is it case sensitive or would that even matter. - Original Message - From: Arno Seidel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 2:17 AM Subject: [SPAM] AW: [Samba] Samba and Windows XP Hi, did you changed the encryption-settings in windows xp? just look under controll-panel - local security policies... just a hint: [homes] comment = Home Directories path = /home read only = No change the path to following: path = /home/%u the %u will bei expanded to your account name ...then you can delete the myshare section... -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Simone Gesendet: Donnerstag, 16. September 2004 11:06 An: Jason Johnson Cc: [EMAIL PROTECTED] Betreff: Re: [Samba] Samba and Windows XP Just another easy try, did you install SP2 on XP? Is the firewall on? Cheers Simone Jason Johnson wrote: That gave me an invalid password error. Even though my password is correct. This is the strangest thing I have ever seen - Original Message - From: Simone [EMAIL PROTECTED] To: Jason Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 1:23 AM Subject: Re: [Samba] Samba and Windows XP Hi, it could be a stupid thing to try, but I was thinking you could try to connect using net use. This way you provide credential even if you're not prompted. net use Z: \\ipsambaserver\sharename /USER:jason password:yourpassword Have a nice day Simone Jason Johnson wrote: Samba appears to be up [EMAIL PROTECTED] samba]# /etc/init.d/smb status smbd (pid 1988) is running... nmbd (pid 1992) is running... Local file permissions on the directory appear to be fine [EMAIL PROTECTED] home]# ls -al /home/jason total 24 drwxr-xr-x 2 jason jason 4096 Aug 31 15:05 . drwxr-xr-x 4 root root 4096 Aug 31 13:20 .. -rw--- 1 jason jason 34 Sep 15 21:07 .bash_history -rw-r--r-- 1 jason jason 24 Aug 31 13:20 .bash_logout -rw-r--r-- 1 jason jason 191 Aug 31 13:20 .bash_profile -rw-r--r-- 1 jason jason 124 Aug 31 13:20 .bashrc [EMAIL PROTECTED] home]# My Windows XP account name is Jason with the same password that I use for samba. I do not see anywhere in windows where I can configure anything. When I go into My Network Places on Windows XP and choose View Workgroup Computers. I see the samba server icon. When I double click it it does not give me any prompt for a username and password. It just pops up that error message that I pasted in my initial email. If there is an area in Windows XP that I need to configure. Please let me know Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:32 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server
Re: [Samba] mount -t smbfs
On Thu, 2004-09-16 at 17:09, Scott Ainslie wrote: On Thu, 16 Sep 2004 17:01:37 +0800, Ow Mun Heng [EMAIL PROTECTED] wrote: On Thu, 2004-09-16 at 16:45, Scott Ainslie wrote: SME Server 6.0.1 as standalone (Domain controler, mail file server) samba version 2.2.8a I have a win95 machine on my network logged onto the domain with it's d drive shared with full access and no password. I have created a directory /mnt/win I can ping the machine name 'tarryn' When I try: mount -t smbfs //tarryn/d /mnt/win I get the error: Connection to tarryn failed SMB connection failed Can I ask if the firewall is the problem?? Have you checked it? If I try: mount -t smbfs //tarryn/d /mnt/win -o ip=192.168.196.44 then I get the error: session request to TARRYN failed (Called name not present) It shouldn't be the problem as I did a: service iptables stop same error Okay.. Is samba running (may be a stupid question) Can you instead of using the name, try the IP address? mount -t smbfs //192,168.196.44/d /mnt/win (is it really named d? of d$) how about mount -t smbfs -o guest //192,168.196.44/d /mnt/win or try listing the shares smbclient -L 192,168.196.44 and please reply to the list. -- Ow Mun Heng Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel 2.6.7-2.jul1-interactive Neuromancer 17:31:49 up 1 day, 8:15, 7 users, load average: 0.67, 0.70, 0.76 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Nyíllal szemben
-- Nyllal szemben Portland, Oregon. A Portlandi Egyetemi Krhz orvosa nyilatkozta, hogy egy nylvesszvel fejbeltt frfi szerencssen tllte srlst s hamarosan kiengedik a krhzbl. A 25 ves Tony Roberts egy oregoni vadvzi evezs klub beavatsi bulijn vesztette el a jobb szemt. Egy, a fejre helyezett srsdobozt prblt egyik bartja eltallni, de a nylvessz Roberts jobb szemn ment be. Az orvos szerint ha csak egy millimterrel arrbb megy a nyl, egy fteret vg t s Roberts azonnal meghal. Dr. John Delashaw idegsebsz szerint a nyl 8-10 hvelyknyi (20-25 cm) agyszveten hatolt t, a hegye htul e a koponyt, de valahogy mgis elkerlte a fbb ereket. Delashaw elmondta, hogy ha Roberts megprblta volna kiszabadtani fejbl a nyilat, a sajt hallt okozta volna. Roberts bevallotta, hogy aznap dlutn bartaival alkoholt ittak. - Olyan hlyn rzem magam emiatt - mondta. Vdemels nem trtnt, de az gysz elmondsa szerint a beavatsi szertartst kivizsgljk. Mg tbb krsgrt kattintson ide: http://hihetetlen.maxima.hu/re/01d56290ee41691 -- n most egy ingyenes SZINTE HIHETETLEN egypercest olvasott, ha tetszett, kldje tovbb. Ennek a levlnek a megrendelshez kldjn egy res levelet a [EMAIL PROTECTED] cmre. A fenti rs szrakoztat cllal kszlt, mely NEM rt, bnt, srt szndk. A szveg tartalmt minden esetben viccnek, trfnak kell tekinteni! Tovbbi egypercesek, archvum: http://hihetetlen.maxima.hu/re/79a56290aad7d2a Ennek a levlnek a lemondshoz kattintson ide: http://leir.maxima.hu/251/12930/56290/db51482f1d2dc0d3587abd876360d610 Krds, problma, javaslat: [EMAIL PROTECTED] Ha az Egyperces magazinban reklmot szeretne eljuttatni olvasinkhoz, krjk rjon a [EMAIL PROTECTED] cmre vagy keresse Vrs Gergely-t a 373-0953-as telefonszmon. Ezt a levelet a kvetkez cmre kldtk ki: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
AW: [SPAM] AW: [Samba] Samba and Windows XP
Hi, first i think that it is case sensitive... just try to change the encryption settings have a look at: http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/ClientConfig.html #id2526010 myabe this helps you a little bit -Ursprngliche Nachricht- Von: Jason Johnson [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 16. September 2004 11:33 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: [SPAM] AW: [Samba] Samba and Windows XP I went ahead and made that change to smb.conf as you suggested. As far as the encryption settings in windows, I have not made any changes to those. Just a thought. I used smbpasswd to create the samba user 'jason'. however, my Windows XP user is 'Jason' Is it case sensitive or would that even matter. - Original Message - From: Arno Seidel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 2:17 AM Subject: [SPAM] AW: [Samba] Samba and Windows XP Hi, did you changed the encryption-settings in windows xp? just look under controll-panel - local security policies... just a hint: [homes] comment = Home Directories path = /home read only = No change the path to following: path = /home/%u the %u will bei expanded to your account name ...then you can delete the myshare section... -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Simone Gesendet: Donnerstag, 16. September 2004 11:06 An: Jason Johnson Cc: [EMAIL PROTECTED] Betreff: Re: [Samba] Samba and Windows XP Just another easy try, did you install SP2 on XP? Is the firewall on? Cheers Simone Jason Johnson wrote: That gave me an invalid password error. Even though my password is correct. This is the strangest thing I have ever seen - Original Message - From: Simone [EMAIL PROTECTED] To: Jason Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 1:23 AM Subject: Re: [Samba] Samba and Windows XP Hi, it could be a stupid thing to try, but I was thinking you could try to connect using net use. This way you provide credential even if you're not prompted. net use Z: \\ipsambaserver\sharename /USER:jason password:yourpassword Have a nice day Simone Jason Johnson wrote: Samba appears to be up [EMAIL PROTECTED] samba]# /etc/init.d/smb status smbd (pid 1988) is running... nmbd (pid 1992) is running... Local file permissions on the directory appear to be fine [EMAIL PROTECTED] home]# ls -al /home/jason total 24 drwxr-xr-x 2 jason jason 4096 Aug 31 15:05 . drwxr-xr-x 4 root root 4096 Aug 31 13:20 .. -rw--- 1 jason jason 34 Sep 15 21:07 .bash_history -rw-r--r-- 1 jason jason 24 Aug 31 13:20 .bash_logout -rw-r--r-- 1 jason jason 191 Aug 31 13:20 .bash_profile -rw-r--r-- 1 jason jason 124 Aug 31 13:20 .bashrc [EMAIL PROTECTED] home]# My Windows XP account name is Jason with the same password that I use for samba. I do not see anywhere in windows where I can configure anything. When I go into My Network Places on Windows XP and choose View Workgroup Computers. I see the samba server icon. When I double click it it does not give me any prompt for a username and password. It just pops up that error message that I pasted in my initial email. If there is an area in Windows XP that I need to configure. Please let me know Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:32 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date:
Re: [Samba] Samba and Windows XP - RESOLVED
Thanks to all who gave it their best shot to assist me. After double checking my log files again I noticed in /var/log/messages that nmbd was trying to communicate with my Wireless NIC instead of the Ethernet NIC. I disabled the Wireless NIC temporarily and then I double checked the settings on the Ethernet NIC. It turnes out I had mistyped the subnet mask. I corrected this and now I can access Samba from windows. I reenabled the wireless NIC and everything is working wonderfully now. Looks like the soak in the Jacuzzi really helped clear my head. :-D Thanks again to all who gave me advice Jason - Original Message - From: Simone [EMAIL PROTECTED] To: Jason Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 2:05 AM Subject: Re: [Samba] Samba and Windows XP Just another easy try, did you install SP2 on XP? Is the firewall on? Cheers Simone Jason Johnson wrote: That gave me an invalid password error. Even though my password is correct. This is the strangest thing I have ever seen - Original Message - From: Simone [EMAIL PROTECTED] To: Jason Johnson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 1:23 AM Subject: Re: [Samba] Samba and Windows XP Hi, it could be a stupid thing to try, but I was thinking you could try to connect using net use. This way you provide credential even if you're not prompted. net use Z: \\ipsambaserver\sharename /USER:jason password:yourpassword Have a nice day Simone Jason Johnson wrote: Samba appears to be up [EMAIL PROTECTED] samba]# /etc/init.d/smb status smbd (pid 1988) is running... nmbd (pid 1992) is running... Local file permissions on the directory appear to be fine [EMAIL PROTECTED] home]# ls -al /home/jason total 24 drwxr-xr-x 2 jason jason 4096 Aug 31 15:05 . drwxr-xr-x 4 root root 4096 Aug 31 13:20 .. -rw--- 1 jason jason 34 Sep 15 21:07 .bash_history -rw-r--r-- 1 jason jason 24 Aug 31 13:20 .bash_logout -rw-r--r-- 1 jason jason 191 Aug 31 13:20 .bash_profile -rw-r--r-- 1 jason jason 124 Aug 31 13:20 .bashrc [EMAIL PROTECTED] home]# My Windows XP account name is Jason with the same password that I use for samba. I do not see anywhere in windows where I can configure anything. When I go into My Network Places on Windows XP and choose View Workgroup Computers. I see the samba server icon. When I double click it it does not give me any prompt for a username and password. It just pops up that error message that I pasted in my initial email. If there is an area in Windows XP that I need to configure. Please let me know Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:32 AM Subject: Re: [Samba] Samba and Windows XP Jason Johnson wrote: I just created the samba user 'jason' now. However, it never prompts me to enter in a username or password. Is there some security setting that I need to enable on the samba side to make it prompt me when I double click on the icon in Windows XP? Jason - Original Message - From: Slavisa Popravak [EMAIL PROTECTED] To: Jason [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 11:48 PM Subject: Re: [Samba] Samba and Windows XP Jason wrote: I am trying to setup a samba server on Redhat Fedora 2 and trying to connect to it through Windows XP Professional. This samba server is a standalone server. I can see it in the Network Places. Every time I try to connect to it I get the following error in Windows. \\Samba is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found. Here is my smb.conf file that I created using SWAT. Can anyone help me? Thank You Jason # Samba config file created using SWAT # from 192.168.1.2 (192.168.1.2) # Date: 2004/09/15 23:22:05 # Global parameters [global] log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No ldap ssl = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 hosts allow = 192.168.1., 192.168.2., 127. [homes] comment = Home Directories path = /home read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [myshare] comment = Jason Test Share path = /home/jason valid users = jason read only = No create mask = 0765 Did you create username jason on server as a samba user?? smbpasswd -a jason Then enter password, and when later try to connect to server suply that username and password. -- Slavia Popravak inenjer informatike -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba I think that samba will allways ask you for username and password, when try to connect. Maybe you should do some
[Samba] xp problems joining 3.0.7 domain
I know this was asked like zillion times here, but i haven't seen any answer that would help me. I've setup samba 3.0.7 pdc over ldap, now i can't join domain with xp clients - trying to do that with Administrator account (uid 0) leads to uknown user, every other user has Access denied. Machine accounts are created automatically using smbldaptools. However, adding to domain fails with: Authentication for user [Administrator] - [Administrator] FAILED with error NT_STATUS_WRONG_PASSWORD. Yes, i've entered correct password. My users are in Users ou, i applied signorseal.reg, i can su to administrator on my box aok...i just can't join domain. Any idea what's wrong in here, or is there any checklist what has to be done in order to join samba domain with xps? --- reklama - Polite si na mobil farebn obrzok alebo kool zvonenie! http://mobil.zoznam.sk -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] mount -t smbfs
On Thu, 16 Sep 2004 17:38:19 +0800, Ow Mun Heng [EMAIL PROTECTED] wrote: On Thu, 2004-09-16 at 17:09, Scott Ainslie wrote: On Thu, 16 Sep 2004 17:01:37 +0800, Ow Mun Heng [EMAIL PROTECTED] wrote: On Thu, 2004-09-16 at 16:45, Scott Ainslie wrote: SME Server 6.0.1 as standalone (Domain controler, mail file server) samba version 2.2.8a I have a win95 machine on my network logged onto the domain with it's d drive shared with full access and no password. I have created a directory /mnt/win I can ping the machine name 'tarryn' When I try: mount -t smbfs //tarryn/d /mnt/win I get the error: Connection to tarryn failed SMB connection failed Can I ask if the firewall is the problem?? Have you checked it? If I try: mount -t smbfs //tarryn/d /mnt/win -o ip=192.168.196.44 then I get the error: session request to TARRYN failed (Called name not present) It shouldn't be the problem as I did a: service iptables stop same error Okay.. Is samba running (may be a stupid question) Yes, that same win95 machine can browse shares in the linux box. Can you instead of using the name, try the IP address? mount -t smbfs //192,168.196.44/d /mnt/win Have tried using the IP same result. (is it really named d? of d$) Yes d, Can browse from other windows machines and an suse 9.1 box using smb://192.168.196.44/d can see all files fine. Tried to mount from suse box and get same error. how about mount -t smbfs -o guest //192,168.196.44/d /mnt/win or try listing the shares smbclient -L 192,168.196.44 Cant connect error and please reply to the list. Sorry about that. (Why is the list not setup so that the default repy address is the list and not the respondent?) Scott -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3 + smbldap-tools smbpasswd
On Thu, 2004-09-16 at 00:10, rruegner wrote: have you set time server = yes you should post yor whole smb.conf I should :) [global] netbios name = TESTDOM-PDC workgroup = TESTDOM server string = TESTDOM Domain Controller wins support = yes time server = yes dns proxy = no name resolve order = lmhosts host wins bcast interfaces = 10.10.10.99 domain master = yes domain logons = yes preferred master = yes local master = yes os level = 64 log file = /var/log/samba/log.%m max log size = 1000 syslog only = no syslog = 0 panic action = /usr/share/samba/panic-action %d security = user encrypt passwords = true passdb backend = ldapsam:ldap://localhost obey pam restrictions = yes guest account = nobody invalid users = root load printers = yes printing = cups printcap name = cups printer admin = @ntadmin preserve case = yes short preserve case = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 ldap suffix = dc=testdom,dc=com ldap user suffix = ou=Users ldap group suffix = ou=Groups ldap machine suffix = ou=Computers #ldap admin dn = cn=samba,ou=DSA,dc=testdom,dc=com ldap admin dn = cn=Manager,dc=testdom,dc=com ldap ssl = no ldap delete dn = no ldap passwd sync = Yes ldap ssl = start tls add user script = /usr/local/sbin/smbldap-useradd -m %u 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 [homes] comment = Home Directories browseable = no writable = yes create mask = 0600 directory mask = 0700 [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = no writable = yes browsable = no share modes = no [profiles] comment = User Profiles path = /home/samba/profiles read only = no create mode = 0600 directory mode = 0700 browseable = no guest ok = Yes profile acls = Yes csc policy = disable # next line is a great way to secure the profiles force user = %U # next line allows administrator to access all profiles valid users = %U @Domain Admins ; this stops w2k fucking up it's logon veto oplock files = /prf*.tmp/ [printers] comment = All Printers browseable = yes path = /tmp printable = yes public = no writable = no create mode = 0700 -- Dan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Notification
* eManager Notification ** Recipient, Content filter has detected a sensitive e-mail. Source mailbox: [EMAIL PROTECTED] Destination mailbox(es): [EMAIL PROTECTED] *** End of message *** Received: from 208.8.92.60 by jupiter.INSIDEAI.COM (InterScan E-Mail VirusWall NT); Thu, 16 Sep 2004 06:16:14 -0400 Received: from lists.samba.org ([66.70.73.150]) by viruswall.ai-logix.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com for [EMAIL PROTECTED]; Thu, 16 Sep 2004 06:16:13 -0400 Received: from dp.samba.org (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id B44D21640EE for [EMAIL PROTECTED]; Thu, 16 Sep 2004 10:16:13 + (GMT) X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from mail.apnuk.com (eros.apnuk.com [213.249.142.162]) by lists.samba.org (Postfix) with ESMTP id 74EE8163859 for [EMAIL PROTECTED]; Thu, 16 Sep 2004 10:15:40 + (GMT) Received: (qmail 16754 invoked from network); 16 Sep 2004 10:14:23 - Received: from foxpaws.apnuk.com (10.10.10.57) by 0 with SMTP; 16 Sep 2004 10:14:18 - X-qq-spamfilter: OK (Checked: ([16750]10.10.10.57) Subject: Re: [Samba] Samba3 + smbldap-tools smbpasswd From: Dan Slatford [EMAIL PROTECTED] To: [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Content-Type: text/plain Message-Id: [EMAIL PROTECTED] Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 16 Sep 2004 11:15:15 +0100 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on dp.samba.org X-Spam-Status: No, hits=-4.9 required=3.8 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Level: X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.1.4 Precedence: list List-Id: General questions regarding Samba samba.lists.samba.org List-Unsubscribe: http://lists.samba.org/mailman/listinfo/samba, mailto:[EMAIL PROTECTED] List-Archive: http://lists.samba.org/archive/samba List-Post: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Subscribe: http://lists.samba.org/mailman/listinfo/samba, mailto:[EMAIL PROTECTED] Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Notification
* eManager Notification ** Recipient, Content filter has detected a sensitive e-mail. Source mailbox: [EMAIL PROTECTED] Destination mailbox(es): [EMAIL PROTECTED] *** End of message *** Received: from 208.8.92.60 by jupiter.INSIDEAI.COM (InterScan E-Mail VirusWall NT); Thu, 16 Sep 2004 06:16:23 -0400 Received: from lists.samba.org ([66.70.73.150]) by viruswall.ai-logix.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com for [EMAIL PROTECTED]; Thu, 16 Sep 2004 06:16:22 -0400 Received: from dp.samba.org (localhost [127.0.0.1]) by lists.samba.org (Postfix) with ESMTP id 9D37E164101 for [EMAIL PROTECTED]; Thu, 16 Sep 2004 10:16:22 + (GMT) X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from mail.apnuk.com (eros.apnuk.com [213.249.142.162]) by lists.samba.org (Postfix) with ESMTP id 74EE8163859 for [EMAIL PROTECTED]; Thu, 16 Sep 2004 10:15:40 + (GMT) Received: (qmail 16754 invoked from network); 16 Sep 2004 10:14:23 - Received: from foxpaws.apnuk.com (10.10.10.57) by 0 with SMTP; 16 Sep 2004 10:14:18 - X-qq-spamfilter: OK (Checked: ([16750]10.10.10.57) Subject: Re: [Samba] Samba3 + smbldap-tools smbpasswd From: Dan Slatford [EMAIL PROTECTED] To: [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Content-Type: text/plain Message-Id: [EMAIL PROTECTED] Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 16 Sep 2004 11:15:15 +0100 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on dp.samba.org X-Spam-Status: No, hits=-4.9 required=3.8 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Level: X-BeenThere: [EMAIL PROTECTED] X-Mailman-Version: 2.1.4 Precedence: list List-Id: General questions regarding Samba samba.lists.samba.org List-Unsubscribe: http://lists.samba.org/mailman/listinfo/samba, mailto:[EMAIL PROTECTED] List-Archive: http://lists.samba.org/archive/samba List-Post: mailto:[EMAIL PROTECTED] List-Help: mailto:[EMAIL PROTECTED] List-Subscribe: http://lists.samba.org/mailman/listinfo/samba, mailto:[EMAIL PROTECTED] Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samab 3.0.6 problems
Thanks to all who replied with assistance for this problem. Adding use sendfile = no fixed it beautifully. best regards On Thu, Sep 09, 2004 at 12:55:11PM +, Patrick wrote: Running on a Debian server, 3.0r Sid, 2.4.18 kernel. I recently did an apt-get upgrade which upgraded samba from 3.0.5 to 3.0.6 After this upgrade, access to all shares for all users slowed to a crawl. It was possible to browse the folders, to 3-4 folders deep but then Explorer would freeze on the client.Opening files failed. Copying files locally resulted in corrupt files. Clients included WinXP, Win2K and Linux using samba client. I uninstalled and reconfigured the workgroup with the same results. I back- revved Samab to 3.0.5 with the same smb.conf file and the network is now running again. I have noticed a few people post issues with 3.0.6 and I wonder if there is a bug somewhere? I did run a trace using ethereal - when opening files, packets just stopped between client and server except for a few keepalives. The samba logs didn't contain much info for my level of knowledge (debug level @ 3). If anyone is interested in identifying a problem, can you propose the debug level required and if a trace is required. I can install 3.0.6 again for a while to test. I think the sendfile() system call seems to be broken in the debian kernel. Try adding use sendfile = no to your smb.conf. -- Patrick Ernst ARO Australia Pty Ltd Ph: 0404 883 145 eMail: [EMAIL PROTECTED] iNet: www.aroaustralia.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printer Accounting
Hi Ryan, You can try PyKota. http://www.librelogiciel.com/software/PyKota/action_Presentation Bruno. - Original Message - From: Ryan Verner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:20 AM Subject: [Samba] Samba Printer Accounting Howdy, I'm looking for a piece of software I can use for accounting printers shared on a Linux box via Samba, to Win98/2K/XP machines on a domain. In other words, I want to be able to give user a print quota (say, $3.00), then charge them 10c per page they print from a Windows client to a printer shared from a Linux box running Samba. If they're out of quota, it doesn't print (and doesn't tie up the print queue for everybody else). I can't find any workable solutions. I tried PrintBill, but it's rather buggy, it tends to jam up queues randomly, and requires a Postscript driver and as a result there's all sorts of ways to bypass it. I'm more than happy with a commercial solution. I just want something that works :-) Thanks, Ryan -- Qbalt Project (http://www.qbalt.com/) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] MAX PRINT JOBS bugg
My smb.conf file contains in the general section. max print jobs = 50 And i disabled the print queue using this command : disable PrintQueueName Therefore i would expect SAMBA to reject print jobs after the 50th. But in real life it does not, it continues to spool indefinitely. If i run a batch file from a client workstation to print continuously. It means the request to print is made much faster than manually. It will stop when 7 jobs are spooled in the print queue ??!?!?!? Running smbd -i -F -S - - debuglevel=3 returns the following error message on the linux console when 7 jobs are spooled in the print queue: print_job_start: Queue p13113 number of jobs (51) larger than max printjobs per queue (50) error string = no space left on device error packet at smbd/reply.c(3041) cmd=192 (SMBsplopen) NT_STATUS_DISK_FULL but there's only 7 jobs in the queue. Release 3.0.7 does not fix this It seems to be an issue in the way Samba calculate the number of jobs that are in the print queue ? The reason why i am testing this is because one of my customer prints A LOT ( over 2 thousands jobs per day ) and his users gets exactly this problem when lots of people are trying to print at the same time. Default value of max print jobs is 1000 setting this to 0 ( to permit number less of print jobs ) does not fix the issue. HELP ! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] (no subject)
Hi. We have set up a configuration with a Samba 3.06 PDC and Windows profiles stored on a Windows2003 Server. Workstations logged on the PDC created their profiles on the Windows Server, but now neither the domain admin nor the local Admin on the Win2k3 machine have permission to delete this files. Does anyone have an idea how to handle this problem? Cheers, Chris -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] how to submit patches ? (patch for pdb_xml.c included)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ilia Chipitsine wrote: | Dear Sirs, | | I wrote a patch for pdbedit (pdb_xml.c) which handles | cases with national alphabet characters in GECOS fields. I | sent it directly to Jelmer Vernooij, but there was no answer. Best to file a report in https://bugzilla.samba.org/ and attach the patch there. Thanks. cheers, jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc If we're adding to the noise, turn off this song--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBSYnpIR7qMdg1EfYRAsh7AKDOHICgsBYVlwKldJTt0bUaI3LqvACgp1pP iBua1YTAb9Anewbgdzbxvm8= =q4jW -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Help !! Samba Redhat ES distro release
On 2004-09-15 at 16:20 -0400 [EMAIL PROTECTED] sent off: I tried to install the RH9 samba distro rpm verion 3.0.7 on a redhat ES3 server and came out with a bunch of errors ? you might want to check out the Samba3 RPMs SerNet is building for RHEL3 under http://ftp.sernet.de/pub/samba/rhel3/ Bjoern -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] File locking in NFS on Solaris
Hello, System: Solaris 8/9 Samba: 3.02 and 3.06 We have problems with accessing files (from Windows XP) on a samba server that are mounted over nfs (on the server). Some users have symlinks in their home directories to nfs resources. When they try to copy file located in nfs the client simply hangs. To make the thing even stranger: Sometimes it also works (after restarting the samba server from time to time)! Files mounted on a Solaris nfs server seem to be more affected than files served by Linux. On the server I can see the hanging smbd processes. truss -p tells me that those processes are waiting for a file lock: fcntl(11, F_SETLKW64, 0xFFBEEF38) Here are some messages from the samba log (seems to be related with Windows recognizing the hanging connection and starting a new one). [2004/09/16 10:04:15, 1] smbd/service.c:make_connection_snum(705) diapp2 (134.30.6.13) connect to service dbi initially as user dbi (uid=1250, gid=11211) (pid 29469) [2004/09/16 10:04:47, 0] smbd/oplock.c:request_oplock_break(1023) request_oplock_break: no response received to oplock break request to pid 294 65 on port 39192 for dev = 3f42873, inode = 1171213, file_id = 218 [2004/09/16 10:04:47, 0] smbd/open.c:open_mode_check(681) open_mode_check: exlusive oplock left by process 29465 after break ! For file wwwhome/aktuell/aktuell_test.html, dev = 3f42873, inode = 1171213. Deleting it to continue... [2004/09/16 10:04:47, 0] smbd/open.c:open_mode_check(685) open_mode_check: Existent process 29465 left active oplock. Here are the relevant (I think) entries from smb.conf: locking = yes lock dir = /var/spool/locks/samba kernel oplocks = no oplocks = yes level2 oplocks = yes veto oplock files = /*.mdb/ posix locking = yes Can you please help me to solve this? Greetings Andreas -- | Andreas Haupt| E-Mail: [EMAIL PROTECTED] | Hahn-Meitner-Institut (DN) | WWW: | Glienicker Straße 100| Phone: +49/30/8062-2597 | 14109 Berlin | Fax: +49/30/8062-2096 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Inconsistant AD group authentication
Greetings friends: So heres the problem I've been fighting for the last month to no avail. My samba server is joined to a mixed mode AD domain. I want to set permissions on shares based on AD groups, however only _some_ of the group's members are allowed to access the share when I add their group to valid users. As far as I can tell there are no differences between the AD accounts of group members who can access the share and the members who are denied access. If I add their usernames explicitly to valid users then they can access the share. getent group returns my group and shows all of my users as members. I have ample uid's and gid's reserved for winbind, (10,000-90,000) with only about 30,000 users and under 1000 groups. I have tried using local,global and universal groups - but it makes no difference. Configurations tried that exhibit this problem. Samba 3.0.4 - 3.0.7 Kerberos 1.2.7 - 1.3.5 Redhat 9 What I'm really looking for is for someone to point me in the right direction or give me some kinda of clues to look for. I do not have much access to my company's AD domain so if the problem is suspected to be on the windows side I will need to have specific things in mind to ask one of our AD admins to check. I have already posted all my config's to this list previously, but if theres any information you want please let me know. I would really like to get a functioning samba server out there so we can dump our windows file servers but right now this is impossible! Any help is greatly appreciated! Thanks, James Ziller Systems Administrator Quad/Graphics - Q/DS West Allis, Wisconsin [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Compile problems with 3.07 on solaris
Hi all I have severe problems compiling samba 3.0.7 on solaris8, my gcc is built with /usr/ccs/bin/ld and therefore gcc bails with an ld -E error since the -E parameter isn´t supported in /usr/css/bin/ld. Trying to compile with suns forte 6.2 compiler produces the following error, don´t know if it´s related to the compiler though. Linking nsswitch/libnss_wins.so ld: fatal: file dynconfig.po.o: open failed: No such file or directory ld: fatal: file lib/version.po.o: open failed: No such file or directory ld: fatal: File processing errors. No output written to nsswitch/libnss_wins.so make: *** [nsswitch/libnss_wins.so] Error 1 *_Parameters_* ./configure --prefix=/usr/local/samba-3.0.7 --libdir=/etc/samba --sysconfdir=/etc/samba --localstatedir=/var/opt/samba--with-privatedir=/etc/samba --with-quotas --with-acl-support --with-msdfs *_From Makefile_* prefix=/usr/local/samba-3.0.7 exec_prefix=${prefix} LIBS= -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl -liconv CC=/prog/forte62/bin/cc SHLD=${CC} ${CFLAGS} CFLAGS= -O CPPFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include EXEEXT= LDFLAGS= -L/usr/local/lib AR=ar LDSHFLAGS=-G ${CFLAGS} -L/usr/local/lib WINBIND_NSS_LDSHFLAGS=-G ${CFLAGS} -L/usr/local/lib AWK=gawk DYNEXP= PYTHON= PERL=/usr/local/bin/perl Please help, I´m running out of ideas. TIA /Henrik www.sgu.se -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba cannot authenticate users from child domain
I'll try to post it again.. Have a nice day Simone wrote: Hi, I've been searching a solution for this with no luck for the last 5 days, so I thought I'd finally need help. We have a ADS primary domain, samba 3.0..4-6.3E on RHEL as a domain member. The parent domain say MEDIA.COM has a child domain CHILD.MEDIA.COM. People from the parent domain can access tha shares with no problem , but I can't find a way to make users from the child domain access any share. We use winbind for auth, and security=ads. I've been trying to add valid users to the share via: valid users = CHILD\user CHILD.MEDIA.COM\user Here's a short cut of my smb.conf : realm : MEDIA.COM auth methods = winbind security = ads password server = ip_parentdomain_dc ip_childdomain_dc and here's krb5.conf: [realms] MEDIA.COM = { kdc = ip_parentdomain_dc:88 admin_server = ip_parentdomain_dc:749 default_domain = media.com } [domain_realm] media.com = MEDIA.COM .media.com = MEDIA.COM [kdc] profile = /var/kerberos/krb5kdc/kdc.conf (this file doesn't exist.) If I try to access share \\mediasrvsamba\data from a winxp pc where I'm logged as CHILD\user I get an error in the logs saying couldn't find user MEDIA\user. I guess it cannot find it because it is searching in the parent domain rather than the child domain. Thanks very much for any help, hope I've been able to explain myself. Simone -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: La vera mozzarella di Bufala Campana la trovi fresca su Terrasolis.com, provala! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2499d=15-9 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Printer Accounting
Ryan Verner wrote: Howdy, I'm looking for a piece of software I can use for accounting printers shared on a Linux box via Samba, to Win98/2K/XP machines on a domain. In other words, I want to be able to give user a print quota (say, $3.00), then charge them 10c per page they print from a Windows client to a printer shared from a Linux box running Samba. If they're out of quota, it doesn't print (and doesn't tie up the print queue for everybody else). I can't find any workable solutions. I tried PrintBill, but it's rather buggy, it tends to jam up queues randomly, and requires a Postscript driver and as a result there's all sorts of ways to bypass it. I'm more than happy with a commercial solution. I just want something that works :-) Thanks, Ryan -- Qbalt Project (http://www.qbalt.com/) This software does just what you want. http://www.ib.unicamp.br/ibquota/ Unfortunately all the docs are in portuguese (the fish can help to handle this - http://babelfish.altavista.com) But the software is realy god. You can manage quotas from an web frontend. It requires apache, php, mysql and of course samba and cups. I hope it helps. Regards, -- Filipi Vianna Laboratório de Mecânica Computacional (DEMM) Faculdade de Engenharia - PUC-RS telefone: (51) 3320-3500 ramal: 4053 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3 + smbldap-tools smbpasswd - Figured out!
On Thu, 2004-09-16 at 12:46, rruegner wrote: load printers = yes printing = cups printcap name = cups is there a group ntadmin in ldap? usally it only in passwd printer admin = @ntadmin I haven't gotten round to doing anything with printing yet. I think that's the next challenge. see my parameters and compare Well, I think I can actually spot something wrong with your config, while discovering mine was never broken to the degree I thought! You have the -a (add samba attributes) and -P (invoke smbldap-passwd) switches to the adduser script, which seem unnecessary. The penny's dropped and I've realised the scripts are only for taking care of managing the posix account side of things - samba adds the samba attributes to the LDAP record, so -a is not needed. Indeed, adding it broke things for me as both script and samba try to add the same attributes. -P doesn't seem needed either. I can add accounts perfectly via usermgr.exe without these attributes. I realised my sambaPwdMustChange value was being set two days ahead, because that's set by default in the policy config part of usermgr.exe! So, that was actually working fine, user error. Samba *doesn't* need to run smbldap-passwd.pl for password changes at all. It will update the samba related attributes itself, AND update the userPassword (posix) field if you have ldap passwd sync = Yes set in smb.conf So, basically, it was all working fine to begin with. Gah! ldap ssl = no makes no sense if you say ldap ssl no above ldap ssl = start tls Well, TLS is different to using old SSL as I understand it. TLS works over usual port 389 while SSL is over 636. This much does work. The 'net time' thing I mentioned before isn't a problem, I realised the wrong time was being plucked from a random windows box on the network, not the samba server :) Hurrah for caffine. -- Dan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Ran into a problem upgrading to Samba 3.0.7
Thanks - I got it after studying the manpage. Appreciate your help though! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Belyi Sent: Wednesday, September 15, 2004 9:47 PM To: [EMAIL PROTECTED] Subject: [Samba] Re: Ran into a problem upgrading to Samba 3.0.7 Daniel Gapinski wrote: That doesn't seem to work. Here is how I used it -(where I put [sid], that means the whole alphanumeric sid with dashes, by itself without the brackets): net groupmap delete [sid] net groupmap delete [sid] net groupmap delete ([sid]) net groupmap delete ([sid]) What am I doing wrong in trying to delete this double Domain Admins group? net groupmap delete sid=[sid] Igor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] (no subject)
1) SID mapping got broken for some reason ? 2) is Domain Admins group included into local Administrators group on w2k3 server ? (using the same SID) 3) if nothing helps, you can always log on as local administrator and take ownership of those files. after that you will be able to set permissions to them and delete them Cheers, Ilia Chipitsine Hi. We have set up a configuration with a Samba 3.06 PDC and Windows profiles stored on a Windows2003 Server. Workstations logged on the PDC created their profiles on the Windows Server, but now neither the domain admin nor the local Admin on the Win2k3 machine have permission to delete this files. Does anyone have an idea how to handle this problem? Cheers, Chris -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3 + smbldap-tools smbpasswd - Figured out!
On Thu, 2004-09-16 at 15:52, rruegner wrote: uff , this was a long way good, you have figured it out regards Yes, and thanks for your help! :) -- Dan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Winbind AD-LDAP errors
Anybody have a clue to this error: fskkweb# net groupmap add unixgroup=admin ntgroup=Administrators No rid or sid specified, choosing algorithmic mapping [2004/09/16 08:10:15, 0] lib/smbldap.c:smbldap_open_connection(545) ldap_initialize: Compare False [2004/09/16 08:10:16, 0] lib/smbldap.c:smbldap_open_connection(545) ldap_initialize: Compare False [2004/09/16 08:10:17, 0] lib/smbldap.c:smbldap_open_connection(545) ldap_initialize: Compare False [2004/09/16 08:10:18, 0] lib/smbldap.c:smbldap_open_connection(545) ldap_initialize: Compare False [2004/09/16 08:10:19, 0] lib/smbldap.c:smbldap_open_connection(545) ldap_initialize: Compare False [2004/09/16 08:10:20, 0] lib/smbldap.c:smbldap_open_connection(545) ldap_initialize: Compare False [2004/09/16 08:10:21, 0] lib/smbldap.c:smbldap_open_connection(545) ldap_initialize: Compare False [2004/09/16 08:10:22, 0] lib/smbldap.c:smbldap_open_connection(545) ldap_initialize: Compare False -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Antwort: Re: [Samba] large file support 4GB (nt4.0sp5-smb3.0.6-suse9.0-kernel2.4.21)
rruegner wrote: i recommend using ext3, suse is good in reiser, but with ext3 youre on the safe side. so, where to go with the 200GB of data already on the disks while re-formatting? This is the very last option I will try! (Why: see ftp below) Upgrade samba to 3.07 from ftp suse.com. Done - no results have you played with use sendfile = yes ( which works under suse 9 kernel ) defaults to yes - tested yes and no - no results and other performance parameters in samba, like socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF added SO_SNDBUF - others were set - no results checking in general all nics and switches so as logs might help. Assuming nics and switches means, I should check my hardware? Well, nics and switches are new, (3com Giga Switch and Intel Giga nics), working pretty well, as the ftp test (below) shows. Don't think it's a hardware problem. And logs might help: they are my best bet! But where to look? I found additional infos in my logs - see at end! i have a equal setup but no such big files to test Is this a request to post one here ... ? ;-)) If you had one, would you try to test it? Maybe you could create one from a DVD image or use some CD images, concatenated by copy /b *.iso bigfile? have you test the file coping from a win 2000 client with large memory yes, tried this (why with large memory?) - same errors file handling is only related to partition type ( ext3 , xfs, reiseer ) should be ok. This was my opinion, too - reiserfs should work. Just as a test, setup ftpserver on the samba server and try to copy the file via ftp. The last hours my machines were busy writing some 8 to 20 GB files to the server, using ftp - and it works fine; no errors! So ftp does the job and samba doesn't. As there is no error in ftp transfer of 100GB, I think my hardware is ok. Reiser seems to be able to hold my files, so I am hopeful not to have to reformat to ext3. Scanning logs of level 3 showed and error message: lib/sysquotas.c:sys_get_quota(413) sys_get_vfs_quota() failed for mntpath[/usr/local/raid5_1] bdev[/dev/sdd1] qtype[2] id[500]: Invalid argument This message occurs more than once in this log - maybe it's a first hint on an error. Those log levels are not very useful: they seem to make no difference between logging successful system calls and logging error messages - increasing the log level makes huge logs, where you have to use a microscope to find an error message. Anybody having some more hints to this? Regards [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] printer offline
Hi, I have a samba pdc as a file and domain server and another computer which is only a print server. The print server is set up to allow domain logons via the pdc. It runs Linux with cups and samba. Samba is compiled for Cups Problem is, from a win98 or any machine, I can see the printer but it is marked offline. Nothing i do, seems to make it online. How can I force Samba to make cups printer online ? Regards Braam -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] does SMB run over DCOM ?
Hi all, OPC is a standard that specifies a collection of DCOM interfaces heavely used in the industrial automation domain. (http://www.opcfoundation.org) I would like to access these OPC objects that run in Windows from Linux computers, using the DCOM framework. Instead of implementing DCOM from scratch for Linux, I was considering 'stealing' some code off the SAMBA project relating to the DCOM rpc stuff. Could anybody please confirm that SMB really does run over DCOM, in other words, does the SAMBA code include some kind of implementation of the DCOM protocols? If so, could you give me sugestions on how I could go about this? Where can I get some info regarding the internal functions that I need to call to make DCOM rpc invocations? At the moment I was considering starting off by extending the rpcclient utility and using some of the already implemented services as a guide. I have been browsing this code, nevertheless, some of the details still escape me. For example, what is a pipe, and what do the pipe_idx variables contain? Any help would be higly apreciated! Thanks in advance, Mario de Sousa -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] does SMB run over DCOM ?
Hi, On Thu, Sep 16, 2004 at 04:11:55PM +0100, Mario de Sousa wrote about '[Samba] does SMB run over DCOM ?': OPC is a standard that specifies a collection of DCOM interfaces heavely used in the industrial automation domain. (http://www.opcfoundation.org) I would like to access these OPC objects that run in Windows from Linux computers, using the DCOM framework. Instead of implementing DCOM from scratch for Linux, I was considering 'stealing' some code off the SAMBA project relating to the DCOM rpc stuff. Could anybody please confirm that SMB really does run over DCOM, in other words, does the SAMBA code include some kind of implementation of the DCOM protocols? It is the other way around. DCOM runs over DCE/RPC, which /can/ run over SMB. I have been working on an initial implementation of DCOM in Samba4. It is still in the initial phase of development (some RPC stuff is there), but let me know if you're interested in helping out. Cheers, Jelmer -- Jelmer Vernooij [EMAIL PROTECTED] - http://jelmer.vernstok.nl/ My Samba bugs: 39 signature.asc Description: Digital signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: large file support4GB (nt4.0sp5-smb3.0.6-suse9.0-kernel2.4.21)
rruegner wrote: i recommend using ext3, suse is good in reiser, but with ext3 youre on the safe side. so, where to go with the 200GB of data already on the disks while re-formatting? This is the very last option I will try! (Why: see ftp below) Upgrade samba to 3.07 from ftp suse.com. Done - no results have you played with use sendfile = yes ( which works under suse 9 kernel ) defaults to yes - tested yes and no - no results and other performance parameters in samba, like socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF added SO_SNDBUF - others were set - no results checking in general all nics and switches so as logs might help. Assuming nics and switches means, I should check my hardware? Well, nics and switches are new, (3com Giga Switch and Intel Giga nics), working pretty well, as the ftp test (below) shows. Don't think it's a hardware problem. And logs might help: they are my best bet! But where to look? I found additional infos in my logs - see at end! i have a equal setup but no such big files to test Is this a request to post one here ... ? ;-)) If you had one, would you try to test it? Maybe you could create one from a DVD image or use some CD images, concatenated by copy /b *.iso bigfile? have you test the file coping from a win 2000 client with large memory yes, tried this (why with large memory?) - same errors file handling is only related to partition type ( ext3 , xfs, reiseer ) should be ok. This was my opinion, too - reiserfs should work. Just as a test, setup ftpserver on the samba server and try to copy the file via ftp. The last hours my machines were busy writing some 8 to 20 GB files to the server, using ftp - and it works fine; no errors! So ftp does the job and samba doesn't. As there is no error in ftp transfer of 100GB, I think my hardware is ok. Reiser seems to be able to hold my files, so I am hopeful not to have to reformat to ext3. Scanning logs of level 3 showed and error message: lib/sysquotas.c:sys_get_quota(413) sys_get_vfs_quota() failed for mntpath[/usr/local/raid5_1] bdev[/dev/sdd1] qtype[2] id[500]: Invalid argument This message occurs more than once in this log - maybe it's a first hint on an error. Those log levels are not very useful: they seem to make no difference between logging successful system calls and logging error messages - increasing the log level makes huge logs, where you have to use a microscope to find an error message. Anybody having some more hints to this? Regards [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba = 3.0.6 connection timeouts
and just happenend again while streaming a video. crap. now, security or no working samba? *gg* ok, talking to myself again... i've now patched samba 3.0.5 with the DoS-patch and i'm using 3.0.5 *atm*. v3.0.6 and 3.0.7 just don't work here (hope 3.0.5 doesn't break compatibility with xp sp2 clients...) JG pgp63nzNcU7M2.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] ADS membership with Samba 3.0.4
Hi, Thanks for that information. So, now if I am to include Winbind, I would like to know what other system libraries (Linux based) winbind uses. The deciding factor now would be on how easy or tough it would be to get these libraries running on some thing like VxWorks. As far as I remember, in the 2.2.x series, if Samba was configured with security = DOMAIN, then smbd would connect to the password server / PDC and get the user authenticated. Is there any way I can configure the 3.x series to do this ?!! Even if I can get a small hint, pointing to the code I need to touch upon, I can take it up from there. I have seen this kind of a code in the auth_domain.c file. But I'm not sure how to configure Samba, with security set to ADS, to get to use this mechanism. Would really appreciate it if some one could help me out on this. Thanks and Regards, Sandy -Original Message- From: Christoph Scheeder [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 12:43 PM To: Sandeep Sundaram (WT01 - EMBEDDED PRODUCT ENGINEERING SOLUTIONS) Cc: [EMAIL PROTECTED] Subject: Re: [Samba] ADS membership with Samba 3.0.4 Hi, 1.) Yes you definitly need the winbind/nss stuff, as it is the part of samba that does what you want: ask an ADS server to verify the credentials a user supplys when logging in to samba. 2.) no, it is not sufficient. But you need a working Kerberos library to get winbind to work. Christoph [EMAIL PROTECTED] schrieb: Hi, We are in the process of evaluating the possibility of porting Samba 3.0.4 to VxWorks. Features wise we don't see any problems. But our main concern is on the security. Since we do not have the concept of Users and Groups on VxWorks, we cannot have any authentications as such. So, the other possibility is to pass on the authentication to another Server on the network, typically a AD server (since Samba is required to be a part of a domain) All the documents that we have seen so far, regarding the ADS membership, talk about winbind and NSS. My question here is, 1. Do I really need winbind or NSS since I am not maintaining any Users or Groups locally ?! 2. Is it sufficient if I get the Kerberos and sasl support to work on VxWorks ?! Regards, Sandeep Sundaram Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] set a machine accout password fails
I want to change a machine account password with smbpasswd -m hostname, but smbpasswd fails! error message: Failed to set password for user test$. Failed to modify password entry for user test$ any ideas how to change a machine account password ? regards Stefan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] chdir failed - could someone please explain what this error mea ns?
For some time now I've had this type of error showing up in my logs: [2004/09/16 11:52:08, 0] smbd/service.c:set_current_service(56) chdir (/export/downloads) failed I've Googled, I've looked at the source, and I still can't understand why this error appears. What's really odd is that everything seems to work fine, in spite of the error. Could someone please explain what it means? I'm concerned that it may somehow be related to the mysterious ACL propegation problems I've been having. For reference, here are the permissions on /export/downloads: # file: downloads # owner: root # group: root user::rwx user:mirror:r-x group::rwx group:INTERCLEAN+Domain\040Users:rwx mask::rwx other::--- default:user::rwx default:user:mirror:r-x default:group::rwx default:group:INTERCLEAN+Domain\040Users:rwx default:mask::rwx default:other::--- I'm running Samba 3.0.5-Debian, but the error has persisted for several versions. I'm using ext2fs ACL support. --- David Brodbeck, System Administrator InterClean Equipment, Inc. 3939 Bestech Drive Suite B Ypsilanti, MI 48197 (734) 975-2967 x221 (734) 975-1646 (fax) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Can't become connected user! - network browsing issue
Hi, I am having an issue browsing my work group, i have made the samba server the master browser and it wins the elections. As far as i can tell from the nmbd.logs it is also collecting hosts for the workgroup but when you try to list the workgroup this error is recorded in the messages log : nss_wins[7417]: [2004/09/14 09:54:23, 0] smbd/service.c:make_connection_snum(570) nss_wins[7417]: Can't become connected user! Now all users can use \\server and list the shares and access them all, so all users and passwords are correct. windows gives the error Workgroup is not accessible, you might not have permission to use the network resource The server is running Fedora Core 1 and samba version : 3.0.6-2.FC1 The best bits of my smb.conf is below, thanks for any help. Carl Matthews # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2004/06/23 10:15:40 # Global parameters [global] log file = /var/log/samba/%m.log loglevel = 1 load printers = No security = user encrypt passwords = yes guest ok = yes dos filemode = Yes ldap ssl = no name resolve order = wins lmhosts host bcas socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 deadtime = 15 create mask = 0775 encrypt passwords = yes oplock break wait time = 100 wins support = Yes dns proxy = No netbios aliases = FC1 server string = -Server- FC1 #unix password sync = yes local master = yes mangle prefix = 8 os level = 255 directory mask = 0775 valid users = @MLE-ALL preferred master = yes max log size = 500 [www] comment = Mandrake Webserver path = /var/www valid users = carl admin users = carl read list = carl write list = carl read only = No [homes] comment = Home Directories path = /home/%u read only = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [NET-Eng] comment = Product Design By Genius path = /mnt/mle-net/MLE-NET/MLE-NET-Eng write list = @MLE-ALL force user = mleall read only = No -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Not Reading files.
Just set up a debian Samba box, it's a simple file server, running with samba 3.0.7. The problem I am having is when I try and access a file the connection freezes and then drops. I have tried reinstalling the samba package and multiple config options all with no luck. I'm sure it's something simple but I just can't find what. [global] workgroup = Office server string = simpleoffice dns proxy = no interfaces = 192.168.0.0/24 hosts allow = 192.168.0. 127. log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d encrypt passwords = true passdb backend = tdbsam guest obey pam restrictions = yes invalid users = root passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . socket options = TCP_NODELAY [homes] comment = Home Directories browseable = no writable = no create mask = 0700 directory mask = 0700 [shared] comment = Shared File Space valid users = shaun, simpleoffice, crazyn3wf, inventory, bench path = /home/shared wide links = no writable = yes public = no force user = simpleoffice force group = simpleoffice # POS DataBase Share [pos] comment = Point Of Sale valid users = shaun, simpleoffice, crazyn3wf, inventory path = /home/pos wide links = no writable = yes public = no force user = simpleoffice force group = simpleoffice [backup] comment = Backup valid users = crazyn3wf path = / wide links = no writable = yes public = no force user = root force group = root Thanks, Mark -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Home Directory Winbind
Greetings, Trying to find a solution to creating home directories by using winbind. Have this setup: /etc/pam.d/system-auth: session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0077 With smb.conf: # Global parameters [global] workgroup = domain server string = Monarch Server security = DOMAIN map to guest = Bad User obey pam restrictions = Yes password server = server log level = 3 syslog = 0 log file = /var/log/samba/%m max log size = 50 name resolve order = wins lmhosts host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap preferred master = No local master = No domain master = No dns proxy = No wins server = 172.16.1.100, idmap uid = 1-2 idmap gid = 1-2 template homedir = /home/users/%U winbind separator = + winbind use default domain = Yes read only = No hosts allow = 172., 127. [homes] comment = %U Directories path = /homes/users/%U browseable = No Winbind creates the directory in /home/users/: drwx-- 2 thodgkinson Domain Users 4096 Sep 15 16:25 thodgkinson The problem is that I can not access the directory when browsing to it. tail /var/log/samba/blah: '/homes/users/thodgkinson' does not exist or is not a directory, when connecting to [thodgkinson] Where have I gone wrong? Ideas? Cheers, Tim -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] password synch with Active Directory and v. 2.0.9
Good morning Samba mailing list. I have found myself suddenly thrown at a Samba problem, and I have been unable to find the answer I need in the documentation. I did find some interesting tidbits on the Samba 2.X trouble shooting guide, but the issue still remains. I'm running Samba 2.0.9 on Solaris 7 and Windows 2000 with Active Directory on some sort of Dell hardware. For the most part, the samba shares work just fine. Windows users (running XP clients) are able to access directories on the Sun box with a minimum of fuss. However, when their windows password gets changed, they are no longer able to authenticate until I manually change their password in smbpasswd. Is there a way to automate this in Samba 2.0.9? I've spoken with a few administrators who use Samba 3.x, and they have said that winbindd does this exact thing, however I cannot upgrade at this time. I've included the global section of my smb.conf for your perusal. [global] netbios name = GOOSE server string = Samba %v on %L security = domain workgroup = WESTAM-US password server = ads-02 encrypt passwords = Yes map to guest = Bad User log file = /opt/local/samba/var/log/log.%m max log size = 1000 name resolve order = wins lmhosts host bcast socket options = TCP_NODELAY IPTOS_LOWDELAY wins server = 172.17.0.6 printing = bsd print command = /usr/bin/lp -r -d %p %s preserve case = yes # hosts allow = 172.17.0.0/255.255.0.0 EXCEPT 172.17.2.37 Thank you in advance for any advice, and I hope this isn't one of those RTFM situations. -- Ryan Worthington Systems and Network Analyst IT Infrastructure Team WestAM - Houston, TX 713-963-5315 Difficile est satiram non scribere. This message is confidential and may be privileged. It is intended solely for the named addressee. If you are not the intended recipient please inform us. Any unauthorised dissemination, distribution or copying hereof is prohibited. As we cannot guarantee the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Home Directory Winbind
Looks like it could just be homes/home mismatch. Bye, Ivano Cristofolini Presidio Informatico Ingegneria Direzione Informatica e Telecomunicazioni Università degli Studi di Trento Via Mesiano 77, 38050 Povo(TN), Italy Tel: +39 0461/881940 Fax: +39 0461/882628 On Thu, 16 Sep 2004, Tim Hodgkinson wrote: Greetings, Trying to find a solution to creating home directories by using winbind. Have this setup: /etc/pam.d/system-auth: session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0077 With smb.conf: # Global parameters [global] workgroup = domain server string = Monarch Server security = DOMAIN map to guest = Bad User obey pam restrictions = Yes password server = server log level = 3 syslog = 0 log file = /var/log/samba/%m max log size = 50 name resolve order = wins lmhosts host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap preferred master = No local master = No domain master = No dns proxy = No wins server = 172.16.1.100, idmap uid = 1-2 idmap gid = 1-2 template homedir = /home/users/%U winbind separator = + winbind use default domain = Yes read only = No hosts allow = 172., 127. [homes] comment = %U Directories path = /homes/users/%U browseable = No Winbind creates the directory in /home/users/: drwx-- 2 thodgkinson Domain Users 4096 Sep 15 16:25 thodgkinson The problem is that I can not access the directory when browsing to it. tail /var/log/samba/blah: '/homes/users/thodgkinson' does not exist or is not a directory, when connecting to [thodgkinson] Where have I gone wrong? Ideas? Cheers, Tim -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Disabling NETBIOS over TCP/IP
Hi, i'm trying to configure XP clients to communicate with Samba3 PDC without NETBIOS. I've disabled NETBIOS over TCP/IP on XP clients and on Samba3 server. I also created neccessary DNS records as described in Samba-HOWTO-Collection but yet without success. I've created DNS SRV entry _ldap._tcp.pdc._msdcs.domainame.com as described in Samba-HOWTO but this is what happends: 1. XP client sends DNS query for entry _ldap._tcp.dc._msdcs.domainame.com and not for _ldap._tcp.dc._msdcs.domainame.com (note the difference .dc instead of .pdc) and fails because of missing DNS entry 2. I added SRV entry for _ldap._tcp.dc._msdcs.domainame.com, now XP finds the Samba domain controller but tries to contact LDAP server on it using UDP protocol and fails again. Obviously, XP expects domain controller name returned by SRV .dc entry to belong to AD Domain controller and not NT4 style one and it never even tries to query for .pdc record. Did anybody get this to work? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] MAX PRINT JOBS bugg
I was able to bypass the max print jobs = 50 parameter by putting the lines 2057 to 2061 in comments of the source/printing.c file. In this manner there's no comparison made on the number of job in the print queue and this parameter. However by now the server stops queueing jobs after the 500th. It does accept them without an error but does not print them. rick talbot [EMAIL PROTECTED] Envoyé par : [EMAIL PROTECTED] 2004-09-16 07:56 A cc Objet [Samba] MAX PRINT JOBS bugg My smb.conf file contains in the general section. max print jobs = 50 And i disabled the print queue using this command : disable PrintQueueName Therefore i would expect SAMBA to reject print jobs after the 50th. But in real life it does not, it continues to spool indefinitely. If i run a batch file from a client workstation to print continuously. It means the request to print is made much faster than manually. It will stop when 7 jobs are spooled in the print queue ??!?!?!? Running smbd -i -F -S - - debuglevel=3 returns the following error message on the linux console when 7 jobs are spooled in the print queue: print_job_start: Queue p13113 number of jobs (51) larger than max printjobs per queue (50) error string = no space left on device error packet at smbd/reply.c(3041) cmd=192 (SMBsplopen) NT_STATUS_DISK_FULL but there's only 7 jobs in the queue. Release 3.0.7 does not fix this It seems to be an issue in the way Samba calculate the number of jobs that are in the print queue ? The reason why i am testing this is because one of my customer prints A LOT ( over 2 thousands jobs per day ) and his users gets exactly this problem when lots of people are trying to print at the same time. Default value of max print jobs is 1000 setting this to 0 ( to permit number less of print jobs ) does not fix the issue. HELP ! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Antwort: Re: large file support 4GB (nt4.0sp5-smb3.0.6-suse9.0-kernel2.4.21)
[EMAIL PROTECTED] wrote: Scanning logs of level 3 showed and error message: lib/sysquotas.c:sys_get_quota(413) sys_get_vfs_quota() failed for mntpath[/usr/local/raid5_1] bdev[/dev/sdd1] qtype[2] id[500]: Invalid argument This message occurs more than once in this log - maybe it's a first hint on an error. Well... Looking through Samba source it looks like a failed call to quotactl(). Which may mean that RaiserFS handler of this call can't handle it. Looking with Google on ReiserFS +quota it looks like it was added not that long ago and maybe updating kernel 2.4.21 to something more recent could be a way to go. And just for an info: I have 2.6.7 + ext3 and was able to copy 5Gb file fron NT4.0 SP6 into this location mounted as an NTFS share without a problem. Hope it helps, Igor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File locking in NFS on Solaris
On Thu, Sep 16, 2004 at 03:12:55PM +0200, Andreas Haupt wrote: [2004/09/16 10:04:15, 1] smbd/service.c:make_connection_snum(705) diapp2 (134.30.6.13) connect to service dbi initially as user dbi (uid=1250, gid=11211) (pid 29469) [2004/09/16 10:04:47, 0] smbd/oplock.c:request_oplock_break(1023) request_oplock_break: no response received to oplock break request to pid 294 65 on port 39192 for dev = 3f42873, inode = 1171213, file_id = 218 [2004/09/16 10:04:47, 0] smbd/open.c:open_mode_check(681) open_mode_check: exlusive oplock left by process 29465 after break ! For file wwwhome/aktuell/aktuell_test.html, dev = 3f42873, inode = 1171213. Deleting it to continue... Your clients are not responding to oplock break requests. Check the network switches/hubs between the server and the clients. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Not Reading files.
On Thu, Sep 16, 2004 at 10:25:49AM -0600, Mark Parsons wrote: Just set up a debian Samba box, it's a simple file server, running with samba 3.0.7. The problem I am having is when I try and access a file the connection freezes and then drops. I have tried reinstalling the samba package and multiple config options all with no luck. I'm sure it's something simple but I just can't find what. If it's debian, you have a broken Linux kernel :-(. Set use sendfile = no in your smb.conf. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Home Directory Winbind
LOL! Thanks for the second pair of eyes. Of course now it is saying that pam has rejected the session. Will continue to work on it. Thanks for your help! --Tim - Original Message - From: Ivano Cristofolini [EMAIL PROTECTED] To: Tim Hodgkinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 11:10 AM Subject: Re: [Samba] Home Directory Winbind Looks like it could just be homes/home mismatch. Bye, Ivano Cristofolini Presidio Informatico Ingegneria Direzione Informatica e Telecomunicazioni Università degli Studi di Trento Via Mesiano 77, 38050 Povo(TN), Italy Tel: +39 0461/881940 Fax: +39 0461/882628 On Thu, 16 Sep 2004, Tim Hodgkinson wrote: Greetings, Trying to find a solution to creating home directories by using winbind. Have this setup: /etc/pam.d/system-auth: session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0077 With smb.conf: # Global parameters [global] workgroup = domain server string = Monarch Server security = DOMAIN map to guest = Bad User obey pam restrictions = Yes password server = server log level = 3 syslog = 0 log file = /var/log/samba/%m max log size = 50 name resolve order = wins lmhosts host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap preferred master = No local master = No domain master = No dns proxy = No wins server = 172.16.1.100, idmap uid = 1-2 idmap gid = 1-2 template homedir = /home/users/%U winbind separator = + winbind use default domain = Yes read only = No hosts allow = 172., 127. [homes] comment = %U Directories path = /homes/users/%U browseable = No Winbind creates the directory in /home/users/: drwx-- 2 thodgkinson Domain Users 4096 Sep 15 16:25 thodgkinson The problem is that I can not access the directory when browsing to it. tail /var/log/samba/blah: '/homes/users/thodgkinson' does not exist or is not a directory, when connecting to [thodgkinson] Where have I gone wrong? Ideas? Cheers, Tim -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File locking in NFS on Solaris
H. I've been following an smbpasswd locking problem over NFS (on AIX 5.2 ML04 - Samba 3.0.7) that appears to be F_SETLKW64 related as well when I'm trying to join a machine to a domain or when a workstations tries to actively change it's trust after 7 days. It's intermittent and doesn't appear related to load...the smbpasswd file attemps a lock and fails after caught alarm (5 seconds) just like the pdb_smbpasswd.c code shows. for example: What I did notice is that's the only call in my truss that had that value during pw_file_lock() all my other kfcntl calls were using F_SETLKW. I've thought about recompiling the whole distro using -q64 on the compiler to see if it makes a difference. I've also seen: kfcntl(0, F_DUPFD, 0x) (sleeping...) now one thing i've noticed is that I get a *LOT* of left over IPC$ connections from workstations that aren't doing anything except sitting at the login screen of XP (and probably trying to change their password :-) (sample smbstatus -S) IPC$ 371196 h253466 Thu Sep 16 12:51:03 2004 IPC$ 371196 h253466 Thu Sep 16 12:51:06 2004 IPC$ 414426 h253466 Thu Sep 16 12:52:33 2004 IPC$ 414426 h253466 Thu Sep 16 12:52:37 2004 IPC$ 375182 h253466 Thu Sep 16 13:06:03 2004 IPC$ 375182 h253466 Thu Sep 16 13:06:05 2004 IPC$ 345158 h253466 Thu Sep 16 13:07:50 2004 IPC$ 345158 h253466 Thu Sep 16 13:07:53 2004 IPC$ 431008 h253466 Thu Sep 16 13:21:03 2004 IPC$ 431008 h253466 Thu Sep 16 13:21:05 2004 IPC$ 358448 h253466 Thu Sep 16 13:22:35 2004 IPC$ 358448 h253466 Thu Sep 16 13:22:38 2004 IPC$ 357180 h253466 Thu Sep 16 13:36:03 2004 IPC$ 357180 h253466 Thu Sep 16 13:36:06 2004 IPC$ 355198 h253466 Thu Sep 16 13:37:21 2004 IPC$ 355198 h253466 Thu Sep 16 13:37:23 2004 IPC$ 400586 h253466 Thu Sep 16 13:51:02 2004 IPC$ 400586 h253466 Thu Sep 16 13:51:05 2004 IPC$ 420788 h253466 Thu Sep 16 13:52:40 2004 IPC$ 420788 h253466 Thu Sep 16 13:52:44 2004 IPC$ 379934 h253486 Thu Sep 16 13:01:58 2004 IPC$ 379934 h253486 Thu Sep 16 13:02:01 2004 IPC$ 382558 h253486 Thu Sep 16 13:03:54 2004 IPC$ 382558 h253486 Thu Sep 16 13:03:57 2004 IPC$ 234724 h253607 Thu Sep 16 12:49:48 2004 IPC$ 234724 h253607 Thu Sep 16 12:49:56 2004 IPC$ 346164 h253607 Thu Sep 16 13:03:53 2004 IPC$ 346164 h253607 Thu Sep 16 13:03:56 2004 IPC$ 395482 h253607 Thu Sep 16 13:06:00 2004 IPC$ 395482 h253607 Thu Sep 16 13:06:03 2004 IPC$ 366154 h253607 Thu Sep 16 13:18:53 2004 IPC$ 366154 h253607 Thu Sep 16 13:18:56 2004 IPC$ 384448 h253607 Thu Sep 16 13:20:46 2004 which I did a kill -1 on and the (*BELOW*) snippet from log.smbd and truss is what occuredcan't figure out why there's a F_DUPFD before trying to lock smbpasswdvery strange... regardless, excluding the intermittent F_DUPFD, I get the strange locking error mucho frequently. always centered around the F_SETLKW64 what's really interesting to take notice of is the fact that the alarm didn't go off until I interrupted the process [2004/09/15 12:58:36, 0] lib/util_file.c:do_file_lock(67) do_file_lock: failed to lock file. [2004/09/15 12:58:36, 0] passdb/pdb_smbpasswd.c:mod_smbfilepwd_entry(712) mod_smbfilepwd_entry: unable to lock file /samba/3.0.7/private/smbpasswd [2004/09/15 12:58:36, 0] passdb/pdb_smbpasswd.c:smbpasswd_update_sam_account(143 6) [2004/09/15 12:58:36, 0] lib/util_file.c:do_file_lock(67) smbpasswd_update_sam_account: mod_smbfilepwd_entry failed! do_file_lock: failed to lock file. [2004/09/15 12:58:36, 0] passdb/pdb_smbpasswd.c:mod_smbfilepwd_entry(712) mod_smbfilepwd_entry: unable to lock file /samba/3.0.7/private/smbpasswd [2004/09/15 12:58:36, 0] passdb/pdb_smbpasswd.c:smbpasswd_update_sam_account(143 6) smbpasswd_update_sam_account: mod_smbfilepwd_entry failed! [2004/09/15 12:58:36, 0] lib/util_file.c:do_file_lock(67) do_file_lock: failed to lock file. [2004/09/15 12:58:36, 0] passdb/pdb_smbpasswd.c:mod_smbfilepwd_entry(712) mod_smbfilepwd_entry: unable to lock file /samba/3.0.7/private/smbpasswd [2004/09/15 12:58:36, 0] passdb/pdb_smbpasswd.c:smbpasswd_update_sam_account(143 6) smbpasswd_update_sam_account: mod_smbfilepwd_entry failed! kfcntl(0, F_DUPFD, 0x) (sleeping...) kfcntl(0, F_DUPFD, 0x) Err#82 ERESTART Received signal #1, SIGHUP [caught] Received signal #14, SIGALRM [caught] Received signal #19, SIGCONT [default] ksetcontext_sigreturn(0x2FF1FF40, 0x, 0x2FF1FF40, 0x2FF3B000, 0x10025210, 0xD0B2, 0xA0277000, 0x2FF39F28)
Re: [Samba] File locking in NFS on Solaris
On Thu, Sep 16, 2004 at 02:15:38PM -0400, William Jojo wrote: H. I've been following an smbpasswd locking problem over NFS (on AIX 5.2 ML04 - Samba 3.0.7) that appears to be F_SETLKW64 related as well when I'm trying to join a machine to a domain or when a workstations tries to actively change it's trust after 7 days. It's intermittent and doesn't appear related to load...the smbpasswd file attemps a lock and fails after caught alarm (5 seconds) just like the pdb_smbpasswd.c code shows. Try this patch (already in the SVN code). Jeremy. Index: passdb/pdb_smbpasswd.c === --- passdb/pdb_smbpasswd.c (revision 2310) +++ passdb/pdb_smbpasswd.c (working copy) @@ -898,6 +898,8 @@ } else { DEBUG(0,(mod_smbfilepwd_entry: Using old smbpasswd format. This is no longer supported.!\n)); DEBUG(0,(mod_smbfilepwd_entry: No changes made, failing.!\n)); +pw_file_unlock(lockfd, (smbpasswd_state-pw_file_lock_depth)); +fclose(fp); return False; } -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Home Directory Winbind
I haven't tried it myself but I think samba calls the PAM stack with the logging user's privileges while pam_mkhomedir needs to be called as root to work (like telnet servers and such do). Bye, - Ivano Cristofolini Presidio Informatico Ingegneria Direzione Informatica e Telecomunicazioni Università degli Studi di Trento Via Mesiano 77, 38050 Povo(TN), Italy Tel: +39 0461/881940 Fax: +39 0461/882628 On Thu, 16 Sep 2004, samba wrote: LOL! Thanks for the second pair of eyes. Of course now it is saying that pam has rejected the session. Will continue to work on it. Thanks for your help! --Tim - Original Message - From: Ivano Cristofolini [EMAIL PROTECTED] To: Tim Hodgkinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 11:10 AM Subject: Re: [Samba] Home Directory Winbind Looks like it could just be homes/home mismatch. Bye, Ivano Cristofolini Presidio Informatico Ingegneria Direzione Informatica e Telecomunicazioni Università degli Studi di Trento Via Mesiano 77, 38050 Povo(TN), Italy Tel: +39 0461/881940 Fax: +39 0461/882628 On Thu, 16 Sep 2004, Tim Hodgkinson wrote: Greetings, Trying to find a solution to creating home directories by using winbind. Have this setup: /etc/pam.d/system-auth: session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0077 With smb.conf: # Global parameters [global] workgroup = domain server string = Monarch Server security = DOMAIN map to guest = Bad User obey pam restrictions = Yes password server = server log level = 3 syslog = 0 log file = /var/log/samba/%m max log size = 50 name resolve order = wins lmhosts host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap preferred master = No local master = No domain master = No dns proxy = No wins server = 172.16.1.100, idmap uid = 1-2 idmap gid = 1-2 template homedir = /home/users/%U winbind separator = + winbind use default domain = Yes read only = No hosts allow = 172., 127. [homes] comment = %U Directories path = /homes/users/%U browseable = No Winbind creates the directory in /home/users/: drwx-- 2 thodgkinson Domain Users 4096 Sep 15 16:25 thodgkinson The problem is that I can not access the directory when browsing to it. tail /var/log/samba/blah: '/homes/users/thodgkinson' does not exist or is not a directory, when connecting to [thodgkinson] Where have I gone wrong? Ideas? Cheers, Tim -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Winbind AD-LDAP errors
Tom Skeren wrote: Anybody have a clue to this error: fskkweb# net groupmap add unixgroup=admin ntgroup=Administrators No rid or sid specified, choosing algorithmic mapping [2004/09/16 08:10:15, 0] lib/smbldap.c:smbldap_open_connection(545) ldap_initialize: Compare False It may indicate a problem with an optional URL parameter specified for passdb backend or idmap backend parameter in your smb.conf. Igor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Home Directory Winbind
Finally saw what the problem was -- on my [homes] path = /home/users/%u which should be %U for NT users. Used authconf to handle the pam.d config for winbind. Again thanks for the help! --Tim - Original Message - From: Ivano Cristofolini [EMAIL PROTECTED] To: samba [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:29 PM Subject: Re: [Samba] Home Directory Winbind I haven't tried it myself but I think samba calls the PAM stack with the logging user's privileges while pam_mkhomedir needs to be called as root to work (like telnet servers and such do). Bye, - Ivano Cristofolini Presidio Informatico Ingegneria Direzione Informatica e Telecomunicazioni Università degli Studi di Trento Via Mesiano 77, 38050 Povo(TN), Italy Tel: +39 0461/881940 Fax: +39 0461/882628 On Thu, 16 Sep 2004, samba wrote: LOL! Thanks for the second pair of eyes. Of course now it is saying that pam has rejected the session. Will continue to work on it. Thanks for your help! --Tim - Original Message - From: Ivano Cristofolini [EMAIL PROTECTED] To: Tim Hodgkinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 11:10 AM Subject: Re: [Samba] Home Directory Winbind Looks like it could just be homes/home mismatch. Bye, Ivano Cristofolini Presidio Informatico Ingegneria Direzione Informatica e Telecomunicazioni Università degli Studi di Trento Via Mesiano 77, 38050 Povo(TN), Italy Tel: +39 0461/881940 Fax: +39 0461/882628 On Thu, 16 Sep 2004, Tim Hodgkinson wrote: Greetings, Trying to find a solution to creating home directories by using winbind. Have this setup: /etc/pam.d/system-auth: session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0077 With smb.conf: # Global parameters [global] workgroup = domain server string = Monarch Server security = DOMAIN map to guest = Bad User obey pam restrictions = Yes password server = server log level = 3 syslog = 0 log file = /var/log/samba/%m max log size = 50 name resolve order = wins lmhosts host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap preferred master = No local master = No domain master = No dns proxy = No wins server = 172.16.1.100, idmap uid = 1-2 idmap gid = 1-2 template homedir = /home/users/%U winbind separator = + winbind use default domain = Yes read only = No hosts allow = 172., 127. [homes] comment = %U Directories path = /homes/users/%U browseable = No Winbind creates the directory in /home/users/: drwx-- 2 thodgkinson Domain Users 4096 Sep 15 16:25 thodgkinson The problem is that I can not access the directory when browsing to it. tail /var/log/samba/blah: '/homes/users/thodgkinson' does not exist or is not a directory, when connecting to [thodgkinson] Where have I gone wrong? Ideas? Cheers, Tim -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Please help: Re: Samba 2.0.6-3 (productive env.) slow down dramticaly
Hello together, please help!!! I made some more traces and test today. The logon process from an Windows XP machines needs aprox. 7 Minutes. Then the machine is able to browse through the domain, can open shares e.g. Wenn I copy a file from a share there happends nothing for round about 1 minute - then windows means that the File could not be copied because the sourcefile or directory could not be read. In the meantime Strace shows what happens within the smb-process: After the Strace you can find a tcpdump - but for both, I´m not technical enough to read in detail. I would be very appreciated to get help from this community- Regards, Heiko lx2-rvmo-02:~# cat /tmp/strace.log 2419 select(25, [20 23 24], NULL, NULL, {48, 83}) = 1 (in [23], left {35, 84}) 2419 read(23, 0x40510008, 4) = -1 ECONNRESET (Connection reset by peer) 2419 time(NULL)= 1095364795 2419 time([1095364795])= 1095364795 2419 getpid() = 2419 2419 rt_sigaction(SIGPIPE, {0x40262be0, [], 0x400}, {SIG_DFL}, 8) = 0 2419 send(4, 27Sep 16 21:59:55 smbd[2419]: ..., 95, 0) = 95 2419 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 2419 geteuid32() = 0 2419 write(27, [2004/09/16 21:59:55, 0] lib/uti..., 63) = 63 2419 time([1095364795])= 1095364795 2419 getpid() = 2419 2419 rt_sigaction(SIGPIPE, {0x40262be0, [], 0x400}, {SIG_DFL}, 8) = 0 2419 send(4, 27Sep 16 21:59:55 smbd[2419]: ..., 105, 0) = 105 2419 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 2419 geteuid32() = 0 2419 write(27, read_socket_data: recv failure..., 73) = 73 2419 time(NULL)= 1095364795 2419 geteuid32() = 0 2419 write(27, [2004/09/16 21:59:55, 3] smbd/pr..., 65) = 65 2419 geteuid32() = 0 2419 write(27, timeout_processing: receive_sm..., 75) = 75 2419 munmap(0x40505000, 696) = 0 2419 close(14) = 0 2419 time(NULL)= 1095364795 2419 geteuid32() = 0 2419 write(27, [2004/09/16 21:59:55, 3] smbd/se..., 57) = 57 2419 geteuid32() = 0 2419 write(27, setting sec ctx (0, 0) - sec_c..., 49) = 49 2419 geteuid32() = 0 2419 getegid32() = 5021 2419 setresgid32(0x, 0, 0x) = 0 2419 getegid32() = 0 2419 getegid32() = 0 2419 setgroups32(0, 0) = 0 2419 setresgid32(0x, 0, 0x) = 0 2419 getegid32() = 0 2419 setresuid32(0, 0, 0x) = 0 2419 geteuid32() = 0 2419 time(NULL)= 1095364795 2419 time([1095364795])= 1095364795 2419 getpid() = 2419 2419 rt_sigaction(SIGPIPE, {0x40262be0, [], 0x400}, {SIG_DFL}, 8) = 0 2419 send(4, 29Sep 16 21:59:55 smbd[2419]: ..., 88, 0) = 88 2419 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 2419 geteuid32() = 0 2419 write(27, [2004/09/16 21:59:55, 2] smbd/se..., 56) = 56 2419 time([1095364795])= 1095364795 2419 getpid() = 2419 2419 rt_sigaction(SIGPIPE, {0x40262be0, [], 0x400}, {SIG_DFL}, 8) = 0 2419 send(4, 29Sep 16 21:59:55 smbd[2419]: ..., 54, 0) = 54 2419 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 2419 geteuid32() = 0 2419 write(27, Closing connections\n, 22) = 22 2419 time(NULL)= 1095364795 2419 geteuid32() = 0 2419 write(27, [2004/09/16 21:59:55, 3] smbd/se..., 57) = 57 2419 geteuid32() = 0 2419 write(27, setting sec ctx (0, 0) - sec_c..., 49) = 49 2419 geteuid32() = 0 2419 getegid32() = 0 2419 setgroups32(0, 0) = 0 2419 setresgid32(0x, 0, 0x) = 0 2419 getegid32() = 0 2419 setresuid32(0, 0, 0x) = 0 2419 geteuid32() = 0 2419 time(NULL)= 1095364795 2419 time([1095364795])= 1095364795 2419 getpid() = 2419 2419 rt_sigaction(SIGPIPE, {0x40262be0, [], 0x400}, {SIG_DFL}, 8) = 0 2419 send(4, 28Sep 16 21:59:55 smbd[2419]: ..., 88, 0) = 88 2419 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 2419 geteuid32() = 0 2419 write(27, [2004/09/16 21:59:55, 1] smbd/se..., 56) = 56 2419 time([1095364795])= 1095364795 2419 getpid() = 2419 2419 rt_sigaction(SIGPIPE, {0x40262be0, [], 0x400}, {SIG_DFL}, 8) = 0 2419 send(4, 28Sep 16 21:59:55 smbd[2419]: ..., 96, 0) = 96 2419 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 2419 geteuid32() = 0 2419 write(27,
[Samba] cannot access files, directory browsing fine ...
Hello. I've just spent some time figuring out why on my RedHat ES server samba allowed me to connect, browse directories, but as soon as .exe was in the dir it would freeze. I couldn't open text files or anything else. It turns out that the Redhat kernel does not play well with 'sendfile' functionality. so I added: use sendfile = no and I'm back in the game. Anyone could help me understand what sendfile does in samba and what is the tradeoff when disabling it ? thanks. Sincerely, Szymon Machajewski MCSD, RHCT, CNA, MySQL Core, CompTIA Linux+ Grand Rapids Community College -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] cannot access files, directory browsing fine ...
On Thu, Sep 16, 2004 at 03:22:35PM -0400, Szymon Machajewski wrote: Hello. I've just spent some time figuring out why on my RedHat ES server samba allowed me to connect, browse directories, but as soon as .exe was in the dir it would freeze. I couldn't open text files or anything else. It turns out that the Redhat kernel does not play well with 'sendfile' functionality. so I added: use sendfile = no and I'm back in the game. What kernel version are you using ? It's starting to look like sendfile may be broken on 2.4.x kernels. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] cannot access files, directory browsing fine ...
I'm using: 2.4.9-e.40 Sincerely, Szymon Machajewski MCSD, RHCT, CNA, MySQL Core, CompTIA Linux+ Grand Rapids Community College Jeremy Allison [EMAIL PROTECTED] 9/16/2004 3:36:02 PM On Thu, Sep 16, 2004 at 03:22:35PM -0400, Szymon Machajewski wrote: Hello. I've just spent some time figuring out why on my RedHat ES server samba allowed me to connect, browse directories, but as soon as .exe was in the dir it would freeze. I couldn't open text files or anything else. It turns out that the Redhat kernel does not play well with 'sendfile' functionality. so I added: use sendfile = no and I'm back in the game. What kernel version are you using ? It's starting to look like sendfile may be broken on 2.4.x kernels. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Home Directory Winbind
I think I am encountering similar problem here. From a Windows box I am able to connect to the server and I can see my username share folder but for some reason it keeps telling me that it can't find the network path found. Could it be that it is not creating the home dir even though I have stated the same line in /etc/pam.d/system-auth file and even after looking at your smb.conf file setting, I have a similar setup. session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0077 Please let if you come across similar issue while creating a home dir when the users logs onto the server? Thanks, Puneet Talwar -Original Message- From: Tim Hodgkinson [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 3:13 PM To: Ivano Cristofolini Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Home Directory Winbind Finally saw what the problem was -- on my [homes] path = /home/users/%u which should be %U for NT users. Used authconf to handle the pam.d config for winbind. Again thanks for the help! --Tim - Original Message - From: Ivano Cristofolini [EMAIL PROTECTED] To: samba [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 12:29 PM Subject: Re: [Samba] Home Directory Winbind I haven't tried it myself but I think samba calls the PAM stack with the logging user's privileges while pam_mkhomedir needs to be called as root to work (like telnet servers and such do). Bye, - Ivano Cristofolini Presidio Informatico Ingegneria Direzione Informatica e Telecomunicazioni Università degli Studi di Trento Via Mesiano 77, 38050 Povo(TN), Italy Tel: +39 0461/881940 Fax: +39 0461/882628 On Thu, 16 Sep 2004, samba wrote: LOL! Thanks for the second pair of eyes. Of course now it is saying that pam has rejected the session. Will continue to work on it. Thanks for your help! --Tim - Original Message - From: Ivano Cristofolini [EMAIL PROTECTED] To: Tim Hodgkinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 16, 2004 11:10 AM Subject: Re: [Samba] Home Directory Winbind Looks like it could just be homes/home mismatch. Bye, Ivano Cristofolini Presidio Informatico Ingegneria Direzione Informatica e Telecomunicazioni Università degli Studi di Trento Via Mesiano 77, 38050 Povo(TN), Italy Tel: +39 0461/881940 Fax: +39 0461/882628 On Thu, 16 Sep 2004, Tim Hodgkinson wrote: Greetings, Trying to find a solution to creating home directories by using winbind. Have this setup: /etc/pam.d/system-auth: session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0077 With smb.conf: # Global parameters [global] workgroup = domain server string = Monarch Server security = DOMAIN map to guest = Bad User obey pam restrictions = Yes password server = server log level = 3 syslog = 0 log file = /var/log/samba/%m max log size = 50 name resolve order = wins lmhosts host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap preferred master = No local master = No domain master = No dns proxy = No wins server = 172.16.1.100, idmap uid = 1-2 idmap gid = 1-2 template homedir = /home/users/%U winbind separator = + winbind use default domain = Yes read only = No hosts allow = 172., 127. [homes] comment = %U Directories path = /homes/users/%U browseable = No Winbind creates the directory in /home/users/: drwx-- 2 thodgkinson Domain Users 4096 Sep 15 16:25 thodgkinson The problem is that I can not access the directory when browsing to it. tail /var/log/samba/blah: '/homes/users/thodgkinson' does not exist or is not a directory, when connecting to [thodgkinson] Where have I gone wrong? Ideas? Cheers, Tim -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Executing programs causes the 'Would you like to download or open file' interface
Can I avoid the prompt 'would you like to download or open file' when opening files in the samba share? I think I've noticed this with some Win shares as well. This is probably an XP functionality. Does someone know if this can be avoided? Sincerely, Szymon Machajewski MCSD, RHCT, CNA, MySQL Core, CompTIA Linux+ Grand Rapids Community College -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] cannot copy from win2k client to samba share
good afternoon all, i am running samba 3.0.7-2.FC1 on fedora core 1. i have a strange problem. when the win2k clients at one of my sites try to copy a file to a samba share on a different subnet, i get the following message: Cannot copy filename: the specified network name is no longer available. i can copy the files to shares on a samba share on the same subnet, and i can copy the files from thte samba share on the different subnet to the win2k clients, but i cannot copy files from the clients to the samba share on the different subnet. no firewalls, and the permissions do not appear to be a factor. any ideas? stuart -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: NT_STATUS_LOGON_FAILURE on auth to a win NT4-server
Wolfgang Wagner wrote: I followed exact the steps described in the book: samba-3 by example up to chapter 5. For those who unfamiliar with the book smb.conf will be very helpful. What kind of trouble indicates this errormessage after trying this: server:# smbclient //domain/SHARE -U user -d 2 Password: session setup failed: NT_STATUS_LOGON_FAILURE It can indicate incorrect password. It can be other issues as well, but there's no enough information about your case. In my client-logfile apperars always the same message: [2004/09/15 04:08:30, 0] auth/auth_util.c:make_server_info_info3(1122) make_server_info_info3: pdb_init_sam failed! This means that there is a problem with the user account. What problem exactly depends on what passdb backend you use and the way you initialize users there. Igor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile problems with 3.07 on solaris
Hi Henrik, I have severe problems compiling samba 3.0.7 on solaris8, my gcc is built with /usr/ccs/bin/ld and therefore gcc bails with an ld -E error since the -E parameter isn´t supported in /usr/css/bin/ld. Trying to compile with suns forte 6.2 compiler produces the following error, don´t know if it´s related to the compiler though. Linking nsswitch/libnss_wins.so ld: fatal: file dynconfig.po.o: open failed: No such file or directory ld: fatal: file lib/version.po.o: open failed: No such file or directory ld: fatal: File processing errors. No output written to nsswitch/libnss_wins.so make: *** [nsswitch/libnss_wins.so] Error 1 At this point do: mv -i ./dynconfig.po.po.o ./dynconfig.po.o mv -i ./lib/version.po.po.o ./lib/version.po.o make and the build will complete just fine. Mike. -- Mike Peterson -- Network Security Specialist -- U/Toronto Network Operations E-mail: [EMAIL PROTECTED] WWW: http://www.noc.utoronto.ca/ Tel: 416-978-5230 Fax: 416-971-1362 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] MAXScript over SAMBA
MAXScript over SAMBA We are experiencing a major time discrepancy between running a 3ds max script from a samba share versus a windows share. From a windows share, the total time it takes for the script to run and the application to become responsive is about 1 second. When running the same script from a samba share, the process takes around 40 seconds. The script itself is 80KB. Copying identical files from either server yields similar times. Output from tcpdump on the samba server shows a multitude of small (63-65 bytes) data transfers back and forth between the client-server with the PUSH flag set in the packet. This output continues for the ~40 seconds until 3ds max becomes responsive again. We are running 3ds max 6.0 SP1 on Win2k and running the script by choosing 'Run Script...' from the MAXScript pulldown menu. Samba version: 3.0.5 smb.conf: [global] workgroup = theorphanage netbios name = altix server string = Altix log level = 1 max disk size = 512000 max xmit = 65535 oplocks = no level2 oplocks = no kernel oplocks = no strict locking = no guest account = orphan log file = /var/log/samba/log.%m max log size = 50 security = share getwd cache = yes socket options = TCP_NODELAY SO_RCVBUF=262144 SO_SNDBUF=262144 interfaces = 192.168.2.219/0xff00 192.168.2.8/0x local master = no os level = 0 domain master = no preferred master = no wins support = no wins server = 192.168.2.11 dns proxy = no [TEST] comment = ATEST path = /TEST browseable = yes read only = no writable = yes guest ok = yes force group = orphan force directory mode = 0777 force create mode = 0777 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Cannot find KDC for requested realm
Hi, I am trying to get samba/winbind setup to do active directory authentication. I am using samba 3.0.7, kerberos 1.3.5, and openldap 2.2.17. I can kinit and klist just fine. However, when I try to net ads join -d10 -Uabostick, I get the error listed below: [2004/09/16 17:04:26, 3] libads/sasl.c:ads_sasl_spnego_bind(211) ads_sasl_spnego_bind: got server principal name [EMAIL PROTECTED] [2004/09/16 17:04:26, 1] libsmb/clikrb5.c:ads_krb5_mk_req(313) krb5_cc_get_principal failed (No credentials cache found) [2004/09/16 17:04:26, 0] libads/kerberos.c:ads_kinit_password(136) kerberos_kinit_password [EMAIL PROTECTED] failed: Cannot find KDC for requested realm [2004/09/16 17:04:26, 0] utils/net_ads.c:ads_startup(183) ads_connect: Cannot find KDC for requested realm [2004/09/16 17:04:26, 2] utils/net.c:main(792) return code = -1 I am not using an administrator account but my account has privileges to add computer accounts, so this shouldn't matter right? If I run kdestroy and clear my ticket, then run net ads join and put in my password, I get the error, but klist shows no ticket. The net commands is not getting that far I guess. Also, like the HOWTO described, I ran kinit, got a ticket. Then I ran net ads join but it still prompts me for as password! It's almost as if samba is ignoring my kerberos cache. I compiled using --with-krb5 and configure output showed most of the kerberos stuff with yes. Any ideas on this? Is this a bug or did I build samba incorrectly? Thanks, Aaron -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Access from Windows to Samba/LINUX
Albert HERVO wrote: But the hidden-flag you say, is for Files, not for folders. I have tried this (in my example) : The sub-folder test2 is always visible under Windows [test2] path = /myshare/test2 guest only = Yes guest ok = Yes public = Yes writable = Yes create mask = 0775 browseable = No map hidden = Yes map hidden (S) This controls whether DOS style hidden files should be mapped to the UNIX world execute bit. Do you have 'world executable' bit set on /myshare/test2? You can add it with the following command: chmod o+x /myshare/test2 - If It's not possible like this, I would have something like this : [myshare] : NOT Browseable (unvisible) BUT Writable At the moment it doesn't work better. - About browseable or browsable : It seems to be both correct ? What do you expect from browseable = No? Share with this flag will not be shown when server receives a request for ALL shares. You will need to specify the exact share name to access it. So, what exactly do you mean by it doesn't work? Igor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Successive writing to a Samba 3 Beta 3 server problem
On Wed, Sep 01, 2004 at 10:18:23AM +0200, Maarten van der Heijden wrote: I'm currently working on a CIFS client program which has to store data on a NAS running with Samba 3 beta 3, but I have a problem with it when I want to write large amounts of data to the NAS. The problem occurs after about 5-10 min (sometimes less, sometimes longer) when I don't get a ANDX_WRITE_RESPONSE. The funny thing is that the data packet which doesn't cause a response is exactly the same as the previous data packet which does cause a response. Only after sending another packet, the write response is sent. Is this a beta bug in the samba server, or am I missing something? Help is very appreciated! Sorry for the delay. Can you test this against Samba 3.0.7. If you still have a problem then please repost the issue. Thanks, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Antwort: Re: large file support 4GB(nt4.0sp5-smb3.0.6-suse9.0-kernel2.4.21)
Thanks for confirmation! Seems as if quota was not quilty. I now installed quota support and enabled it, and now the sys_get_vfs_quota() failed messages are gone from the log - but copying is impossible. To test ext3, I used a looped 10GB file formatted ext3, mounted and exported by samba - and it works! So, ext3 seems to be a better choice than reiser for large file support on samba. But I'm pretty upset on having reiser and samba not working together with large files in 2004, when file sizes of 4GB are supported within windows world since years, with none of the problems I've seen now in linux. Nowadays such experiments sould not be required on a modern OS. Kernel 2.6.x is not an option, as there's no highpoint driver available for it today (no binaries, buggy sources, buggy makefile ... - rely on it!), and lotus domino refuses to run stable (5.0.12, hangs after 2 hours). Running samba is not the only requirement here!! So, I possibly have to change to ext3, if there's no other way - but my decision to reiser was not by random, there were some pros for it. What a sh*t. Chris Igor Belyi wrote: [EMAIL PROTECTED] wrote: Scanning logs of level 3 showed and error message: lib/sysquotas.c:sys_get_quota(413) sys_get_vfs_quota() failed for mntpath[/usr/local/raid5_1] bdev[/dev/sdd1] qtype[2] id[500]: Invalid argument This message occurs more than once in this log - maybe it's a first hint on an error. Well... Looking through Samba source it looks like a failed call to quotactl(). Which may mean that RaiserFS handler of this call can't handle it. Looking with Google on ReiserFS +quota it looks like it was added not that long ago and maybe updating kernel 2.4.21 to something more recent could be a way to go. And just for an info: I have 2.6.7 + ext3 and was able to copy 5Gb file fron NT4.0 SP6 into this location mounted as an NTFS share without a problem. Hope it helps, Igor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] wbinfo -g works, -u fails
Attempting to get Winbind to authenticate against a Windows 2000 Domain, I am having one odd issue. Running: wbinfo -t returns a successful secret wbinfo -g returns the builtin groups wbinfo -u returns Error looking up domain users None of the documentation I've found points to anything where only -g or -u fails--its always both. Anyone have any ideas? Thanks in advance -Matt __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Inkjet and Laser Cartridges ~ Save up to 75%
Save up to 75% on Inkjet, Laser Copier Supplies Quality Products, with 100% Satisfaction Guarantee Easy, Fast, Affordable Shipping Worldwide Plenty of Payment Options to Meet YOUR Needs! SPECIAL: FREE Shipping to US Canada on Orders over $50 Visit us on the web at http://www.inkjetstore.us Brother LC21BK$6.99 (Normally $19.99) Canon BCI24BK$3.99 (Normally $6.49) Epson T040120.$8.99 (Normally $24.99) HP C6578DN...$22.95 (Normally $34.99) Income Opportunity with No Startup Cost, Ask Us How Visit us on the web at http://www.inkjetstore.us/IncomeOp/ If you wish to contact us please visit our web site. For instruction on how to be permanently remove from this distribution system go to http://www.inkjetstore.us/Remove/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: svn commit: lorikeet r59 - in trunk: . samba4-ad-thesis
On Thu, Sep 16, 2004 at 03:38:41AM +, [EMAIL PROTECTED] wrote: Author: abartlet Date: 2004-09-16 03:38:41 + (Thu, 16 Sep 2004) New Revision: 59 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=lorikeetpath=/trunkrev=59nolog=1 Log: As residents on #samba-technical would be aware, I'm working on Samba4 for University credit - finally! This thesis describes the Samba4 work towards an Active Directory compatible DC. In any case, I figure the best backup procedure for this document is to simply put it in SVN, so I'm doing just that :-) That's perfectly reasonable. I used my cvs server to host my own thesis. There is a long way to go on this, but you have to start somehwere... If you wish to make changes to this, talk to me first, so I can ensure that appropriate credit is given, and my supervisor doesn't kill me ;-) cheers, -- Rafal Szczesniak Samba Team member http://www.samba.org signature.asc Description: Digital signature
svn commit: lorikeet r61 - in trunk/samba4-ad-thesis: .
Author: abartlet Date: 2004-09-16 11:59:44 + (Thu, 16 Sep 2004) New Revision: 61 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=lorikeetpath=/trunk/samba4-ad-thesisrev=61nolog=1 Log: Quote CRH on what CIFS is (seeing as he wrote the book...). Add references. Andrew Bartett Modified: trunk/samba4-ad-thesis/chapters.lyx trunk/samba4-ad-thesis/thesis.bib Changeset: Modified: trunk/samba4-ad-thesis/chapters.lyx === --- trunk/samba4-ad-thesis/chapters.lyx 2004-09-16 04:20:34 UTC (rev 60) +++ trunk/samba4-ad-thesis/chapters.lyx 2004-09-16 11:59:44 UTC (rev 61) @@ -195,7 +195,7 @@ , a descendant of the X.500 directory standard from the ITU (and part of the full OSI networking stack) -\begin_inset LatexCommand \citet{X.500-LDAP} +\begin_inset LatexCommand \citet{X.500-LDAP,Understand-X.500} \end_inset @@ -241,8 +241,14 @@ make. \layout Standard -Much of the challenge of Samba4 is the continued task of 'network protocol - analysis' - discussed in detail in section +Much of the challenge of Samba4 is the continued task of `network protocol + analysis' - the art of determining the operation of a proprietory network + protocol, discussed in detail in chapter +\begin_inset LatexCommand \vref{cha:Network-Protocol-analysis} + +\end_inset + +. \layout Subsection Simple directory server @@ -267,12 +273,85 @@ CIFS \layout Standard - +Perhaps the most important protocol in the Micrsoft networking landscape, + CIFS \begin_inset LatexCommand \citep{mind,hertel} \end_inset + dominates the connections made between almost all clients and servers on + a windows network. + Much of the legwork of Active Directory is carried over CIFS at some point + or other. + Chris Hertel gives this description of CIFS in his book, Implemeting CIFS: +\layout Subsection +What is CIFS? +\layout Quote + +CIFS is a network filesystem plus a set of auxiliary services supported + by a bunch of underlying protocols. + Any and all of these various bits have been called CIFS, which leaves us + with a somewhat muddy definition. + To make things easier, we'll start by saying that CIFS is Microsoft's + way of doing network file sharing, and work out the details as we go on. +\layout Quote + +The name CIFS, of course, is an acronym. + It stands for Common Internet File System, a title which deserves a bit + of dissection: +\layout Subsubsection* + +Common +\layout Quote + +The term has a variety of connotations, but we will assume that Microsoft + was thinking of common in the sense of commonly available or commonly used. + All MS operating systems have had some form of CIFS networking available + or built in, and there are implementations of CIFS for most major non-MS + operating systems as well. +\layout Quote + +Unfortunately, there is not yet a specification for CIFS that is complete, + correct, authoritative, and freely available. + Microsoft defines CIFS by their implementations and, as we shall see, their + attempts at documenting the complete suite have been somewhat random. + This has an adverse impact on the commonality of the system. + +\layout Subsubsection* + +Internet +\layout Quote + +At the time that the CIFS name was coined many people felt that Microsoft + was late to the table regarding the exploitation of the Internet. + As will be described further on, the naming scheme they used back then + (based on a piece of older LAN technology known as NetBIOS) doesn't scale + to large networks--certainly not the Internet. + The idea that CIFS would become an Internet standard probably came out + of the work that was being done to redesign Microsoft's networking products + for Windows NT5 (now known as Windows2000 or W2K). + Under W2K, CIFS can use the Domain Name System (DNS) for name resolution. + +\layout Subsubsection* + +File System +\layout Quote + +CIFS allows the sharing of directories, files, printers, and other cool + computer stuff across a network. + That's the filesystem part. + To make use of these shared resources you need to be able to find identify + them, and you also need to control access so that unauthorized folk won't + fiddle where they shouldn't. + This means that there is a hefty amount of administrivia to be managed, + so CIFS file sharing comes surrounded by an entourage. + There are protocols for service announcement, naming, authentication, and + authorization. + These are separate, but intertwined. + Some are based on published standards, others are not, and most have changed + over the years. + \layout Section CLDAP @@ -445,27 +524,48 @@ Purpose \layout Standard -Securly settting up a shared-secret +The purpose of the `domain join' it to securely setup a password (shared + secret) between the workstation (or member server) and the domain controllers. + This is done by a privilaged user, who has the right to specify that a + new machine account be added to the domain. + At the
svn commit: lorikeet r62 - in trunk/samba4-ad-thesis: .
Author: abartlet Date: 2004-09-16 15:33:31 + (Thu, 16 Sep 2004) New Revision: 62 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=lorikeetpath=/trunk/samba4-ad-thesisrev=62nolog=1 Log: Thesis work: Add more to authentication, and spellcheck :-) Andrew Bartlett Modified: trunk/samba4-ad-thesis/chapters.lyx trunk/samba4-ad-thesis/thesis.bib Changeset: Sorry, the patch is too large (558 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=lorikeetpath=/trunk/samba4-ad-thesisrev=62nolog=1
svn commit: samba-docs r218 - in trunk/Samba-HOWTO-Collection: .
Author: jelmer Date: 2004-09-16 20:33:45 + (Thu, 16 Sep 2004) New Revision: 218 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba-docspath=/trunk/Samba-HOWTO-Collectionrev=218nolog=1 Log: Add hitlist Added: trunk/Samba-HOWTO-Collection/hitlist-content Changeset: Added: trunk/Samba-HOWTO-Collection/hitlist-content === --- trunk/Samba-HOWTO-Collection/hitlist-content2004-09-08 15:25:28 UTC (rev 217) +++ trunk/Samba-HOWTO-Collection/hitlist-content2004-09-16 20:33:45 UTC (rev 218) @@ -0,0 +1,13 @@ +- Broadcast messaging +- Profile Recovery +- smbfs/cifsfs +- Anti-Virus +- Krb5 TGT usage +- Static WINS entries +- Disabling Roaming Profiles +- BAD SID issues +- VPN +- incorporation in apache and squid (ntlm_auth) +- smbldap-tools +- kinit issues (you need to have kerberos updated in order to run win2k3, etc) +- pam_smb and why not to use it
svn commit: samba r2368 - in trunk/source/rpc_server: .
Author: jra Date: 2004-09-16 22:08:21 + (Thu, 16 Sep 2004) New Revision: 2368 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/trunk/source/rpc_serverrev=2368nolog=1 Log: Fix from Richard Renard [EMAIL PROTECTED] to fix usermgr and trust relationships. Jeremy. Modified: trunk/source/rpc_server/srv_samr_nt.c Changeset: Modified: trunk/source/rpc_server/srv_samr_nt.c === --- trunk/source/rpc_server/srv_samr_nt.c 2004-09-16 12:49:02 UTC (rev 2367) +++ trunk/source/rpc_server/srv_samr_nt.c 2004-09-16 22:08:21 UTC (rev 2368) @@ -750,7 +750,17 @@ for (i = 0; i num_entries; i++) { pwd = disp_user_info[i+start_idx]; temp_name = pdb_get_username(pwd); - init_unistr2(uni_temp_name, temp_name, UNI_STR_TERMINATE); + + /* +* usrmgr expects a non-NULL terminated string with +* trust relationships +*/ + if (pdb_get_acct_ctrl(pwd) ACB_DOMTRUST) { + init_unistr2(uni_temp_name, temp_name, UNI_FLAGS_NONE); + } else { + init_unistr2(uni_temp_name, temp_name, UNI_STR_TERMINATE); + } + user_sid = pdb_get_user_sid(pwd); if (!sid_peek_check_rid(domain_sid, user_sid, user_rid)) {
svn commit: samba r2369 - in branches/SAMBA_3_0/source/rpc_server: .
Author: jra Date: 2004-09-16 22:08:26 + (Thu, 16 Sep 2004) New Revision: 2369 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/source/rpc_serverrev=2369nolog=1 Log: Fix from Richard Renard [EMAIL PROTECTED] to fix usermgr and trust relationships. Jeremy. Modified: branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c Changeset: Modified: branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c === --- branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c 2004-09-16 22:08:21 UTC (rev 2368) +++ branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c 2004-09-16 22:08:26 UTC (rev 2369) @@ -728,7 +728,17 @@ for (i = 0; i num_entries; i++) { pwd = disp_user_info[i+start_idx]; temp_name = pdb_get_username(pwd); - init_unistr2(uni_temp_name, temp_name, UNI_STR_TERMINATE); + + /* +* usrmgr expects a non-NULL terminated string with +* trust relationships +*/ + if (pdb_get_acct_ctrl(pwd) ACB_DOMTRUST) { + init_unistr2(uni_temp_name, temp_name, UNI_FLAGS_NONE); + } else { + init_unistr2(uni_temp_name, temp_name, UNI_STR_TERMINATE); + } + user_sid = pdb_get_user_sid(pwd); if (!sid_peek_check_rid(domain_sid, user_sid, user_rid)) {
svn commit: samba r2370 - in trunk/source/libsmb: .
Author: jra Date: 2004-09-17 00:49:35 + (Fri, 17 Sep 2004) New Revision: 2370 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/trunk/source/libsmbrev=2370nolog=1 Log: Fix for talking to OS/2 clients (max_mux ignored) by Guenter Kukkukk [EMAIL PROTECTED]. Bugid #1590. Jeremy. Modified: trunk/source/libsmb/cliconnect.c trunk/source/libsmb/clireadwrite.c Changeset: Modified: trunk/source/libsmb/cliconnect.c === --- trunk/source/libsmb/cliconnect.c2004-09-16 22:08:26 UTC (rev 2369) +++ trunk/source/libsmb/cliconnect.c2004-09-17 00:49:35 UTC (rev 2370) @@ -1133,6 +1133,7 @@ cli-use_spnego = False; cli-sec_mode = SVAL(cli-inbuf,smb_vwv1); cli-max_xmit = SVAL(cli-inbuf,smb_vwv2); + cli-max_mux = SVAL(cli-inbuf, smb_vwv3); cli-sesskey = IVAL(cli-inbuf,smb_vwv6); cli-serverzone = SVALS(cli-inbuf,smb_vwv10); cli-serverzone *= 60; Modified: trunk/source/libsmb/clireadwrite.c === --- trunk/source/libsmb/clireadwrite.c 2004-09-16 22:08:26 UTC (rev 2369) +++ trunk/source/libsmb/clireadwrite.c 2004-09-17 00:49:35 UTC (rev 2370) @@ -325,10 +325,16 @@ int bwritten = 0; int issued = 0; int received = 0; - int mpx = MAX(cli-max_mux-1, 1); + int mpx = 1; int block = cli-max_xmit - (smb_size+32); int blocks = (size + (block-1)) / block; + if(cli-max_mux == 0) { + mpx = 1; + } else { + mpx = cli-max_mux-1; + } + while (received blocks) { while ((issued - received mpx) (issued blocks)) {
svn commit: samba r2371 - in branches/SAMBA_3_0/source/libsmb: .
Author: jra Date: 2004-09-17 00:49:41 + (Fri, 17 Sep 2004) New Revision: 2371 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/source/libsmbrev=2371nolog=1 Log: Fix for talking to OS/2 clients (max_mux ignored) by Guenter Kukkukk [EMAIL PROTECTED]. Bugid #1590. Jeremy. Modified: branches/SAMBA_3_0/source/libsmb/cliconnect.c branches/SAMBA_3_0/source/libsmb/clireadwrite.c Changeset: Modified: branches/SAMBA_3_0/source/libsmb/cliconnect.c === --- branches/SAMBA_3_0/source/libsmb/cliconnect.c 2004-09-17 00:49:35 UTC (rev 2370) +++ branches/SAMBA_3_0/source/libsmb/cliconnect.c 2004-09-17 00:49:41 UTC (rev 2371) @@ -1133,6 +1133,7 @@ cli-use_spnego = False; cli-sec_mode = SVAL(cli-inbuf,smb_vwv1); cli-max_xmit = SVAL(cli-inbuf,smb_vwv2); + cli-max_mux = SVAL(cli-inbuf, smb_vwv3); cli-sesskey = IVAL(cli-inbuf,smb_vwv6); cli-serverzone = SVALS(cli-inbuf,smb_vwv10); cli-serverzone *= 60; Modified: branches/SAMBA_3_0/source/libsmb/clireadwrite.c === --- branches/SAMBA_3_0/source/libsmb/clireadwrite.c 2004-09-17 00:49:35 UTC (rev 2370) +++ branches/SAMBA_3_0/source/libsmb/clireadwrite.c 2004-09-17 00:49:41 UTC (rev 2371) @@ -325,10 +325,16 @@ int bwritten = 0; int issued = 0; int received = 0; - int mpx = MAX(cli-max_mux-1, 1); + int mpx = 1; int block = cli-max_xmit - (smb_size+32); int blocks = (size + (block-1)) / block; + if(cli-max_mux == 0) { + mpx = 1; + } else { + mpx = cli-max_mux-1; + } + while (received blocks) { while ((issued - received mpx) (issued blocks)) {
svn commit: samba r2372 - in trunk/source/libsmb: .
Author: jra Date: 2004-09-17 00:53:08 + (Fri, 17 Sep 2004) New Revision: 2372 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/trunk/source/libsmbrev=2372nolog=1 Log: Fix typo.. Jeremy. Modified: trunk/source/libsmb/clireadwrite.c Changeset: Modified: trunk/source/libsmb/clireadwrite.c === --- trunk/source/libsmb/clireadwrite.c 2004-09-17 00:49:41 UTC (rev 2371) +++ trunk/source/libsmb/clireadwrite.c 2004-09-17 00:53:08 UTC (rev 2372) @@ -329,10 +329,10 @@ int block = cli-max_xmit - (smb_size+32); int blocks = (size + (block-1)) / block; - if(cli-max_mux == 0) { + if(cli-max_mux 1) { + mpx = cli-max_mux-1; + } else { mpx = 1; - } else { - mpx = cli-max_mux-1; } while (received blocks) {
svn commit: samba r2373 - in branches/SAMBA_3_0/source/libsmb: .
Author: jra Date: 2004-09-17 00:53:17 + (Fri, 17 Sep 2004) New Revision: 2373 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/source/libsmbrev=2373nolog=1 Log: Fix typo. Jeremy. Modified: branches/SAMBA_3_0/source/libsmb/clireadwrite.c Changeset: Modified: branches/SAMBA_3_0/source/libsmb/clireadwrite.c === --- branches/SAMBA_3_0/source/libsmb/clireadwrite.c 2004-09-17 00:53:08 UTC (rev 2372) +++ branches/SAMBA_3_0/source/libsmb/clireadwrite.c 2004-09-17 00:53:17 UTC (rev 2373) @@ -329,10 +329,10 @@ int block = cli-max_xmit - (smb_size+32); int blocks = (size + (block-1)) / block; - if(cli-max_mux == 0) { + if(cli-max_mux 1) { + mpx = cli-max_mux-1; + } else { mpx = 1; - } else { - mpx = cli-max_mux-1; } while (received blocks) {
svn commit: samba r2374 - in branches/SAMBA_3_0/source/passdb: .
Author: jra Date: 2004-09-17 01:13:47 + (Fri, 17 Sep 2004) New Revision: 2374 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_3_0/source/passdbrev=2374nolog=1 Log: Fix from Vince Brimhall [EMAIL PROTECTED] for ldapsam_compat. Be robust against NULL attributes. Jeremy. Modified: branches/SAMBA_3_0/source/passdb/pdb_ldap.c Changeset: Modified: branches/SAMBA_3_0/source/passdb/pdb_ldap.c === --- branches/SAMBA_3_0/source/passdb/pdb_ldap.c 2004-09-17 00:53:17 UTC (rev 2373) +++ branches/SAMBA_3_0/source/passdb/pdb_ldap.c 2004-09-17 01:13:47 UTC (rev 2374) @@ -1229,8 +1229,13 @@ { int i; - for (i=0; (*attr_list)[i] != NULL; i++) + if (new_attr == NULL) { + return; + } + + for (i=0; (*attr_list)[i] != NULL; i++) { ; + } (*attr_list) = Realloc((*attr_list), sizeof(**attr_list) * (i+2)); SMB_ASSERT((*attr_list) != NULL);
svn commit: samba r2375 - in trunk/source/passdb: .
Author: jra Date: 2004-09-17 01:13:54 + (Fri, 17 Sep 2004) New Revision: 2375 WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/trunk/source/passdbrev=2375nolog=1 Log: Fix from Vince Brimhall [EMAIL PROTECTED] for ldapsam_compat. Be robust against NULL attributes. Jeremy. Modified: trunk/source/passdb/pdb_ldap.c Changeset: Modified: trunk/source/passdb/pdb_ldap.c === --- trunk/source/passdb/pdb_ldap.c 2004-09-17 01:13:47 UTC (rev 2374) +++ trunk/source/passdb/pdb_ldap.c 2004-09-17 01:13:54 UTC (rev 2375) @@ -1258,8 +1258,13 @@ { int i; - for (i=0; (*attr_list)[i] != NULL; i++) + if (new_attr == NULL) { + return; + } + + for (i=0; (*attr_list)[i] != NULL; i++) { ; + } (*attr_list) = Realloc((*attr_list), sizeof(**attr_list) * (i+2)); SMB_ASSERT((*attr_list) != NULL);