[Samba] Re: Profile in use

2007-07-11 Thread C . H .

On 2007-07-11 08:32:56 -0700, "John Drescher" <[EMAIL PROTECTED]> said:

I am not sure. What version of samba are you using? Do you have
profile acls = yes in your smb.conf? Could you post that if it is not
too large?


I do not have "profile acls = yes" set.  According to the smb.conf man 
page, that setting is for when the profiles are stored on a samba 
share.  My profiles are local to the workstations.


Here is my smb.conf file:

[global]
  workgroup = foo
  netbios name = foodc1
  server string = %h server (Samba, Ubuntu)
  wins support = yes
  dns proxy = no
  log file = /var/log/samba/log.%m
  max log size = 1000
  syslog = 0
  panic action = /usr/share/samba/panic-action %d
  security = user
  encrypt passwords = yes
  passdb backend = ldapsam:ldap://localhost/
  obey pam restrictions = yes
  ldap admin dn = uid=Administrator,ou=People,dc=foo,dc=com
  ldap suffix = dc=foo, dc=com
  ldap group suffix = ou=Group
  ldap user suffix = ou=People
  ldap machine suffix = ou=Computers
  ldap idmap suffix = ou=People
  ldap passwd sync = Yes
  passwd program = /usr/sbin/smbldap-passwd %u
  passwd chat = *New*password* %n\n *Retype*new*password* %n\n
  unix password sync = no
  domain logons = yes
  logon path =
  logon drive =
  logon home =
  logon script = logon.cmd
  add user script = /usr/sbin/smbldap-useradd -m "%u"
  ldap delete dn = Yes
  delete user script = /usr/sbin/smbldap-userdel "%u"
  add machine script = /usr/sbin/smbldap-useradd -w "%u"
  add group script = /usr/sbin/smbldap-groupadd -p "%g"
  delete group script = /usr/sbin/smbldap-groupdel "%g"
  add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
  delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
  set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
  enable privileges = yes
  load printers = yes
  printing = cups
  printcap name = cups
  printer admin = @lpadmin
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  domain master = yes
[homes]
  comment = Home Directories
  browseable = no
  valid users = %S
  writable = yes
  create mask = 0600
  directory mask = 0700
[netlogon]
  comment = Network Logon Service
  path = /home/samba/netlogon
  guest ok = yes
  writable = no
  share modes = no
[printers]
  comment = All Printers
  browseable = no
  path = /tmp
  printable = yes
  public = no
  writable = no
  create mode = 0700
[print$]
  comment = Printer Drivers
  path = /var/lib/samba/printers
  browseable = yes
  read only = yes
  guest ok = no
  write list = administrator, @ntadmin


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


[Samba] Profile in use

2007-07-11 Thread C . H .
I am migrating our office from a Windows 2003 Active Directory domain 
to a Samba domain with an LDAP backend.


All users in the domain had local profiles only, so I went to each of 
their machines and migrated the profiles to the new domain.  Everything 
seemed to work fine with the new domain except that occasionally (not 
all the time) when a user has logged out of their machine and goes to 
log back in, they get an error that their profile is in use and that 
they will be logged in with a temporary profile.  The only way to stop 
this error is to reboot the machine, at which point they can log in 
successfully and their profile is working again.


I never had this problem under Active Directory but I don't see how 
Samba could be causing the problem since we're still using local 
profiles.  Does anyone have any thoughts about what could be causing 
this?



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


[Samba] Re: samba 2.2.8a bug: misc. tdb compile problems on SunOS 4.x

2004-02-09 Thread Julian C H Stevens
David DiGiacomo  slack.com> writes:

> 
> 1. tdb/tdb.c and tdb/tdb.h use sig_atomic_t instead of SIG_ATOMIC_T
> 
> 2. tdbbackup.c doesn't include "includes.h"
> 
> 3. tdb.c uses memmove(), but tdbbackup doesn't link with lib/replace.o
> 
I'm having this problem as well.
Does anyone know how to get tdbbackup to link on SunOS 4.x?

Julian



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


[Samba] SIG_ATOMIC_T make error

2004-02-03 Thread Julian C H Stevens
I'm trying to compile Samba 3.0.0. using gcc 2.95.3 and the make fails with the
following errors:

In file included from include/includes.h:761,
 from dynconfig.c:21:
include/../tdb/tdb.h:130: parse error before `*'
In file included from include/includes.h:896,
 from dynconfig.c:21:
include/proto.h:6460: parse error before `*'
*** Error code 1
make: Fatal error: Command failed for target `dynconfig.o'

The lines in tdb.h and proto.h that cause the parse errors
are identical, and contain the following definition:
 
void tdb_set_lock_alarm(sig_atomic_t *palarm);

Please can someone suggest where this is failing?

Thanks,

Julian

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


[Samba] smbclient got signal 11

2004-01-26 Thread Julian C H Stevens
I am using Samba 2.0.6 to backup NT shares to my SunOS server using Amanda, 
however, I frequently get a lot of error messages.  Here are some examples:

? code 0 opening remote file \\marh1\\User Work Area\\Daily
Slides\\2003\\Briefcopy.ppt (\\marh1\\User Work Area\\Daily Slides\\2003\\)
? ERRDOS - ERRbadfid listing marh12User Work Area*
? ERRDOS - ERRbadfid opening remote file \\marh1\\User Work Area\\Daily
Slides\\2003\\Feb 03.msg (\\marh1\\User Work Area\\Daily Slides\\2003\\)
? Expected SMBtrans2 response, got command 0x2d
? Error reading file \\marh1\\Application Data\\db query
results\\natrep01_upgrade.log : ERRDOS - ERRbadpath
? Didn't get entire file. size=481, nread=0
? code 0 listing \\marh1\\*
? Expected SMBtrans2 response, got command 0x2d
? ERRDOS - ERRbadfile listing \\marh10\\*
? Expected SMBtrans2 response, got command 0x2d
? ERRDOS - ERRnoaccess opening remote file \\marh12\\Application Data\\
(\\marh12\\Application Data\\)
? ERRDOS - ERRbadpath listing \\marh12\\Application Data\\backups\\*
? ERRDOS - ERRbadpath opening remote file \\marh12\\Application Data\\Book1.xls
(\\marh12\\Application Data\\)
? Expected SMBtrans2 response, got command 0x04
? code 0 listing \\marh11\\*
sendbackup: error [/usr/local/samba/bin/smbclient got signal 11]

Can anyone tell me if these errors are related, and how I can get rid of them.
(Everytime I get these errors, my backup fails!)

Thanks,

Julian

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


[Samba] Samba 3.0.0 compile errors

2004-01-23 Thread Julian C H Stevens
Apologies first!
I am currently maintaining a very old SunOS 4.1.3_U1 server which is in a
sensitive location an cannot be upgraded.  It will be replaced soon, but in the
meantime...
I need to upgrade my Samba 2.0.6 to Samba 3.0.0, but receive the following
compile errors:

jasperl}source% make
Using FLAGS =  -g -O2 -I./popt -Iinclude
-I/home/jasperl/julian/local/src/samba-3.0.0/source/include
-I/home/jasperl/julian/local/src/samba-3.0.0/source/ubiqx
-I/home/jasperl/julian/local/src/samba-3.0.0/source/smbwrapper  -I. 
-I/home/jasperl/julian/local/src/samba-3.0.0/source   
  LIBS = -lresolv
  LDSHFLAGS = -G
  LDFLAGS = 
Compiling dynconfig.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/termio.h:7,
 from include/includes.h:256,
 from dynconfig.c:21:
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:116:
warning: `NL0' redefined
/usr/include/sys/ioctl.h:30: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:117:
warning: `NL1' redefined
/usr/include/sys/ioctl.h:31: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:119:
warning: `CR0' redefined
/usr/include/sys/ioctl.h:40: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:120:
warning: `CR1' redefined
/usr/include/sys/ioctl.h:41: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:121:
warning: `CR2' redefined
/usr/include/sys/ioctl.h:42: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:122:
warning: `CR3' redefined
/usr/include/sys/ioctl.h:43: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:124:
warning: `TAB0' redefined
/usr/include/sys/ioctl.h:35: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:125:
warning: `TAB1' redefined
/usr/include/sys/ioctl.h:36: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:126:
warning: `TAB2' redefined
/usr/include/sys/ioctl.h:37: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:127:
warning: `XTABS' redefined
/usr/include/sys/ioctl.h:38: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:130:
warning: `BS0' redefined
/usr/include/sys/ioctl.h:48: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:131:
warning: `BS1' redefined
/usr/include/sys/ioctl.h:49: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:136:
warning: `FF0' redefined
/usr/include/sys/ioctl.h:45: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:137:
warning: `FF1' redefined
/usr/include/sys/ioctl.h:46: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:169:
warning: `ECHO' redefined
/usr/include/sys/ioctl.h:23: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:173:
warning: `NOFLSH' redefined
/usr/include/sys/ioctl.h:66: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:174:
warning: `TOSTOP' redefined
/usr/include/sys/ioctl.h:57: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:189:
warning: `FLUSHO' redefined
/usr/include/sys/ioctl.h:58: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:190:
warning: `PENDIN' redefined
/usr/include/sys/ioctl.h:64: warning: this is the location of the previous
definition
In file included from include/includes.h:761,
 from dynconfig.c:21:
include/../tdb/tdb.h:130: parse error before `*'
In file included from include/includes.h:896,
 from dynconfig.c:21:
include/proto.h:6460: parse error before `*'
*** Error code 1
make: Fatal error: Command failed for target `dynconfig.o'

Can anyone tell me if the warnings are significant, and what the parse error
indicates?
Thanks.

-- 
To unsubscribe from this list go to the following UR