[Samba] read only share access after upgrade to 3.0.10 - an update
Hello. Remember this one? >I'm in upgrade hell after upgrading my backup rh9 server and fc2 linux >box to 3.0.10 from 3.0.7. rh9 rpm package was from the samba site and >the fc2 rpms from redhat. > >I now have a system where the win xp and win98se machines on the >network >can read/write to the backup share but my fc2 box only has read only >access to the share - it could write before the upgrade. snip... I have concluded that either the samba-3.0.10-1.fc2.i386.rpm binaries have a problem or that some corruption to my linux os occurred during the update. I've used the problem as an excuse to move on to fc3 and can report everything is working properly again (samba-3.0.10-1.fc3). :-) Regards, Graham -- Graham Vincent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] read only share access after upgrade to 3.0.10
Hello Samba gurus. I'm in upgrade hell after upgrading my backup rh9 server and fc2 linux box to 3.0.10 from 3.0.7. rh9 rpm package was from the samba site and the fc2 rpms from redhat. I now have a system where the win xp and win98se machines on the network can read/write to the backup share but my fc2 box only has read only access to the share - it could write before the upgrade. I tried downgrading back to 3.0.7 but the problem is still there - maybe the upgrade made a change that didn't get undone with a "rpm -Uvh --oldpackage" downgrade? I've checked dns name resolution is working OK, tried the sticky bit suggestion in the Howto (no joy and I didn't need it before anyway) and upped the log level to try and find what's going on but after 3 days I have to admit defeat and get some help... Backup server smb.conf: # Samba config file created using SWAT # from hal.gpv.co.nz (192.168.10.50) # Date: 2004/05/16 12:12:01 # Global parameters [global] workgroup = GPV ENTERPRISES server string = Marvin Samba Server interfaces = eth0 min passwd length = 3 password server = username map = /etc/samba/user.map log level = 3 log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 hostname lookups = Yes dns proxy = No ldap ssl = no remote announce = 192.168.10.255 hosts allow = 192.168.10., 127.0.0.1 hosts deny = 192.168.20. [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [backup] comment = backup directories path = /backup write list = @gpv read only = No create mask = 0770 directory mask = 0770 If I try smbmount from the fc2 box: [EMAIL PROTECTED] gpv]# smbmount //marvin/backup /marvin (much longer delay here than there used to be...) Password: 16155: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed or smbclient: [EMAIL PROTECTED] gpv]# smbclient -L //marvin -d3 lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" added interface ip=192.168.10.50 bcast=192.168.10.255 nmask=255.255.255.0 Client started (version 3.0.10-1.fc2). Connecting to 192.168.10.70 at port 445 Password: Doing spnego session setup (blob length=58) got OID=1 3 6 1 4 1 311 2 2 10 got principal=NONE Got challenge flags: Got NTLMSSP neg_flags=0x608b0215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60080215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60080215 SPNEGO login failed: Logon failure session setup failed: NT_STATUS_LOGON_FAILURE So much for 4 public holidays to start the year off with :-( All help welcome. Thanks, Graham -- Graham Vincent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.3 upgrade comments
Hello Samba gurus. I've just finished an upgrade from 2.2.8a to 3.0.3 on my old pc file server. Many years ago it used to be a RH 6.2 machine but most packages (including Samba) have now been built from source. I have a couple of observations that might be worth including in the documentation/man pages to help other users: The swat man page instructions for editing /etc/inetd.conf refer to: swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat but this should now be: swat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat ^ as the swat is now installed to sbin by default. The default install now places smbd and nmbd in the sbin directory as well where previously they were in bin. The /etc/rc.d/init.d/smb script I have on my machine was pointing to the bin directory so I just restarted the old binaries until I noticed that a small edit was required to point to the new location. It was only chasing down the reason for swat still showing the old version number and the absence of the shares/connections on the swat status page that gave me hint that something was wrong. It would be useful if samba told a log file what version it was when it starts - certainly would have saved me a lot time. Keep up the good work. Regards, Graham -- Graham Vincent GPV Enterprises Limited PO Box 5001, New Plymouth, New Zealand Ph +64 21 046 8910 Fax +64 6 753 6970 [EMAIL PROTECTED] http://www.gpv.co.nz -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] use samba timeserver for linux box
Graham Vincent wrote: Hello. I have a small network with a dialup connection to the internet. When the server is online to collect mail, etc I use ntpdate to synchronise it with a local timeserver. The windows machines on the network set their time using the timeserver in Samba with a "net time ..." bat file. This works well. I would like to synchronise the linux machines using the samba time server but have been unable to work out how to do it? Setting up an ntp daemon seems a bit over the top when there is a perfectly good Samba timeserver already running. How can I access the Samba timeserver to set the time on a linux machine? Use 'net time' :-) In Samba 3.0 we have added a 'net' command with some of the same syntax as the windows equiv. The net time command has a '-S' option, which will set the time based on the timestamp in the initial protocol excachge. Andrew Bartlett Thanks Andrew. Just what I wanted :-) Regards, Graham -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] use samba timeserver for linux box
Hello. I have a small network with a dialup connection to the internet. When the server is online to collect mail, etc I use ntpdate to synchronise it with a local timeserver. The windows machines on the network set their time using the timeserver in Samba with a "net time ..." bat file. This works well. I would like to synchronise the linux machines using the samba time server but have been unable to work out how to do it? Setting up an ntp daemon seems a bit over the top when there is a perfectly good Samba timeserver already running. How can I access the Samba timeserver to set the time on a linux machine? Thanks, Graham -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba