[Samba] Porting samba setup to backup server

2011-10-06 Thread Ken Findlay
I must set up a backup server for failover and have used tdbbackup to create 
backup files from the functioning primary server. I then copied the files to 
the backup server and used tdbbackup to restore all the databases, along with 
copying the smb.conf and other text files from /etc/samba. This does not seem 
to work and I was hoping someone could assist.
Primary server is RHEL 5.4 with Samba 3.3.8-0.52.el5_5.2, and the backup server 
is also RHEL 5.4 but has Samba 3.5.4-0.83.el5_7.2 (different version as used 
yum install samba3x months apart and different versions were installed from the 
RedHat repository).

Thanks for any help.
Ken
 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Porting samba setup to backup server

2011-10-06 Thread Ken Findlay
Fixed - shutdown smb, nmb and winbind; then removed erroneous secrets.tdb as 
well as the passdb.tdb in privates; restarted smb which re-created secrets.tdb, 
then shutdown smb, ran tdbbackup -v to restore the passdb.tdb and restarted 
smb, nmb and winbind. All good with slightly re-configured smb.conf to avoid 
name confusion.


From: samba-requ...@lists.samba.org
Sent: Thursday, October 06, 2011 11:00 AM
To: samba@lists.samba.org
Subject: samba Digest, Vol 106, Issue 6 

Send samba mailing list submissions to
samba@lists.samba.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.samba.org/mailman/listinfo/samba
or, via email, send a message with subject or body 'help' to
samba-requ...@lists.samba.org

You can reach the person managing the list at
samba-ow...@lists.samba.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of samba digest...

Today's Topics:

   1. [Re:  Samba4 and sysvol share] (fe...@epepm.cupet.cu)
   2. Access registry on remote Windows machine? (Ken D'Ambrosio)
   3. Re: smbd: PANIC (pid x): internal error  -- ? causes?
  (Linda W)
   4. Re: Fwd: Win 7 Pro (Oto BREZINA)
   5. Re: issue with tesparam (Moray Henderson)
   6. Re: issue with tesparam (Harry Jede)
   7. [mount.cifs] Mapping Windows ACLs SIDs to POSIX ACL ?
  (Xavier Roche)
   8. access denied problem (Damian Rodriguez Sanchez)
   9. Re: [mount.cifs] Mapping Windows ACLs SIDs to POSIX ACL ?
  (Shirish Pargaonkar)
  10. Subversion working copy via Samba (Dalibor Karlovi?)
  11. Force group syntax for multiple groups (Le, Anh)
  12. Re: Force group syntax for multiple groups (Chris Weiss)
  13. Porting samba setup to backup server (Ken Findlay)

___
samba mailing list
samba@lists.samba.org
https://lists.samba.org/mailman/listinfo/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Share access on new server

2008-09-08 Thread Ken Findlay
I am new to the Samba world and need to port the Samba setup from an old server 
running BEL Server (RedHat under the hood) with Samba 3.0.25 to a RedHat EL 5.2 
server with Samba 3.0.28, but some of the share access is not working.

After copying over the smb.conf file I ran testparm and had issues with the 
oplocks so I commented out the entries referring to oplocks (also the docs 
indicated that modifiying the lock settings should not be necessary).

After starting the smbd/nmbd the server shows up in the network browser along 
with the workstations and old Samba server (I changed the name in the new 
server smb.conf file so they could both be accessed) and the users can access 
their home shares but not the secondary shares. The secondary shares have 
entries such as:

  user = @groupname

where the group names are valid linux groups on both the old and new servers. 

There does not appear to be a domain server in use - users login in with simple 
name and password on the PC's.

The old linux server used the smbpasswd backend so I just ported it rather than 
try to modify before I get the shares working.

The error messages we get are as follows:

 From 2000 PC The network name cannot be found

From XP PC The network path was not found

Both systems tested can ping the server with the hostname.

I just tested another PC used for some mail hosting programs and it can access 
all the shares but is logged in as Administrator so is using the root user 
mapping to access all.

The output from the testparm command is as follows:

[global]
workgroup = SILON
map to guest = Bad User
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap cache time = 60
printcap name = cups
dns proxy = No
idmap uid = 1-10500
idmap gid = 10501-10999
path = /home/administrator/SHARES
username = @staff
write list = @staff

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm, root
inherit permissions = Yes
guest ok = Yes

[pdf-gen]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
printing = bsd
print command = /usr/share/samba/scripts/print-pdf %s %H //%L/%u 
%m %I %J 
lpq command = /bin/true
lprm command = lprm -P'%p' %j

[install]
path = /home/administrator/SHARES/install

[general]
path = /home/administrator/SHARES/general
create mask = 0770
directory mask = 0770

[lab_data]
path = /home/administrator/SHARES/lab_data
username = 
valid users = @lab-staff, samplonius
write list = @lab-staff
read only = No
create mask = 0777
directory mask = 0777

[backup]
path = /home/administrator/SHARES/backup
username = @secure_staff
write list = @secure_staff

[acct]
comment = Accounting Share
path = /home/administrator/SHARES/acct
valid users = @secure_staff
read list = @secure_staff
write list = @secure_staff
[EMAIL PROTECTED] ~]# 

Any help would be appreciated.

Thanks.

Ken



__
D O T E A S Y - Join the web hosting revolution!
 http://www.doteasy.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba