[Samba] Options fmask,dmask etc doesn't work in FC2

2004-11-05 Thread Andre Luis Fogagnoli
I have a box with Samba, with an repository file share, all machines in 
my network office has permissions to read/write in this share.
But in boxes with Fedora Core 2 when I mount the share with options 
fmask=777 and dmask=777 only the directory that I mounted the share gets 
the fmask and dmask configurations, and the subdirectories continue with 
the same attributes of the server.

How can I fix it?
thanks
Andre Luis Fogagnoli
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Error with samba version above 3.0.6

2004-09-14 Thread Andre Luis Fogagnoli
<>I thinks that it's something wrong with my config file, because I 
don't find any think similar on the net.
I updated my samba to version 3.0.6 but now this error is occuring when 
I try to connect to samba:

# /usr/local/samba/bin/smbclient -L romanza
Password:
session setup failed: Call returned zero bytes (EOF)
I'm using samba for a PDC with LDAP. In Samba version 3.0.5 it works ok.
I compiled with this options: --with-ldap and --with-ldapsam
But in version 3.0.6 and 3.0.7 doesn't work. I used the same config file 
(see below), and the same options to configure command.

Does any one have any ideia? Or anyone has the same problem?
My smb.conf:
[global]
  netbios name = ROMANZA
  workgroup = FFS-TESTE
  server string = Bastion File Server - Samba version %v
   

  log level = 9
  log file = /usr/local/samba/var/log
   

  time server = Yes
  unix password sync = Yes
   

  add user script = /usr/local/sbin/smbldap-useradd.pl -w %U
  passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
  passwd chat = *new*password* %n\n *new*password* %n\n *successfuly*
   

  logon script = logon.bat
  logon path = \%L\profiles\%U\%m
  logon drive = h:
  logon home = \%L\profiles\%U\%m
   

  domain logons = Yes
  preferred master = Yes
  domain master = Yes
  os level = 65
  admin users = @root
   

  ldap server = 127.0.0.1
  ldap port = 389
  ldap suffix = dc=romanza
  ldap machine suffix = ou=Computers,dc=romanza
  ldap user suffix = ou=Users,dc=romanza
  ldap group suffix = ou=Groups,dc=romanza
  ldap idmap suffix = ou=Mail,dc=romanza
  ldap admin dn = "cn=manager,dc=romanza"
  ldap ssl = no
   

[netlogon]
  comment = Network Logon Service
  path = /usr/local/samba/lib/netlogon
  guest ok = Yes
  browseable = No
   

[profiles]
  path = /home/samba-profiles
  read only = No
  create mask = 0600
  directory mask = 0700
  browseable = No
[homes]
  read only = No
  create mask = 0600
  directory mask = 0700
  only user = Yes
  browseable = No
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba3 Schema

2004-04-15 Thread Andre Luis Fogagnoli
Thanks for your advice, but my real problem are only Samba3 schema and
LDAP, why I can't use smbpasswd -a for pass posixAccount for
sambaAccount.


On Wed, 2004-04-14 at 09:52, Matthias Spork wrote:
> Andre Luis Fogagnoli schrieb:
> 
> > I tried to use Samba3 schema in my OpenLDAP, but when I tried to pass a
> > posixAccount to sambaAccount, using smbpasswd -a , I get this
> > error:
> > 
> > Failed to initialise SAM_ACCOUNT for user teste.
> > Failed to modify password entry for user teste
> > 
> > And when I try to add user with smbldap-tools (version come with samba
> > 3.0.2a, I suspect is 0.82), I receive this message.
> > 
> > /usr/local/sbin/smbldap-useradd.pl: unknown group SID not set for unix
> > group 221 check if your unix group is mapped to an NT group
> > 
> > I think it's mistake mine, but with phpldapadmin I can to add a user.
> > What's wrong??
> > In my smbldap_conf.pm I put SID get by command "net getlocalsid".
> 
> Have you configured your smbldap-tools? Take a look at 
> http://samba.idealx.org/index.en.html
> 
> matze
-- 
André Luís Fogagnoli
Bastion Security Systems
http://www.bastion.com.br
tel://+55.11.5049.0100

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


[Samba] Samba3 Schema

2004-04-14 Thread Andre Luis Fogagnoli
I tried to use Samba3 schema in my OpenLDAP, but when I tried to pass a
posixAccount to sambaAccount, using smbpasswd -a , I get this
error:

Failed to initialise SAM_ACCOUNT for user teste.
Failed to modify password entry for user teste

And when I try to add user with smbldap-tools (version come with samba
3.0.2a, I suspect is 0.82), I receive this message.

/usr/local/sbin/smbldap-useradd.pl: unknown group SID not set for unix
group 221 check if your unix group is mapped to an NT group

I think it's mistake mine, but with phpldapadmin I can to add a user.
What's wrong??
In my smbldap_conf.pm I put SID get by command "net getlocalsid".

I use:
OpenLDAP version 2.1.29
Samba version 3.0.2a
PhpLdapAdmin 0.9.3


-- 
André Luís Fogagnoli
Bastion Security Systems
http://www.bastion.com.br
tel://+55.11.5049.0100

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


Re: [Samba] Roam profile - My documents

2004-02-12 Thread Andre Luis Fogagnoli
Thanks for reply,
but I won't redirect the alias of My Documents, I won't not sync My
documents folder (eg. c:\Documents and Settings\Andre\My Documents\).


On Thu, 2004-02-12 at 15:05, John H Terpstra wrote:
> On Thu, 12 Feb 2004, Andre Luis Fogagnoli wrote:
> 
> > I have a samba 3 PDC with roam profile, but I won't the folder "My
> > documents" will be sync with last of profile.
> > Does anyone have any idea how can I do this?
> 
> Yes. It is documented in my new book "Samba-3 by Example" - can be
> pre-ordered from Amazon.Com now. This book should start shipping early
> April.
> 
> What you want is known as folder redirection. I have previously documented
> the process for setting up folder redirection on this list. Suggest you do
> a google search for 'folder direction'.
> 
> Cheers,
> John T.
> -- 
> John H Terpstra
> Email: [EMAIL PROTECTED]
-- 
Andre Luis Fogagnoli
Bastion Security Systems
http://www.bastion.com.br
tel://+5511.5049.0100

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


[Samba] Roam profile - My documents

2004-02-12 Thread Andre Luis Fogagnoli
I have a samba 3 PDC with roam profile, but I won't the folder "My
documents" will be sync with last of profile.
Does anyone have any idea how can I do this?

thanks...
-- 
Andre Luis Fogagnoli
Bastion Security Systems
http://www.bastion.com.br
tel://+5511.5049.0100

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


[Samba] Java smbpasswd

2004-01-23 Thread Andre Luis Fogagnoli
Does anyone have a code in Java that change the samba password?

thanks.

-- 
Andre Luis Fogagnoli
Bastion Security Systems
http://www.bastion.com.br
tel://+5511.5049.0100


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Log Viewer

2004-01-23 Thread Andre Luis Fogagnoli
I'm looking for a program to allow me to vizualize the samba's logs
trought a web interface. 

-- 
Andre Luis Fogagnoli
Bastion Security Systems
http://www.bastion.com.br
tel://+5511.5049.0100


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Logoff Script

2004-01-14 Thread Andre Luis Fogagnoli
I think is specify on Group Policy, but I don't know any think about.
I read in some articles on internet, if is use Active Directory it's
work on Group Policy else (if NT Domain) it's specify on Gina. But I
don't know what is this...

On Tue, 2004-01-13 at 15:09, John H Terpstra wrote:
> Andre,
> 
> How does Windows handle a logoff script?
> 
> - John T.
> -- 
> John H Terpstra
> Email: [EMAIL PROTECTED]
> 
> __
> How I can specify my logoff script in smb.conf?
> 
> thx...
-- 
Andre Luis Fogagnoli
Bastion Security Systems 
http://www.bastion.com.br 
tel://+5511.5049.0100


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Logoff Script

2004-01-13 Thread Andre Luis Fogagnoli
How I can specify my logoff script in smb.conf?

thx...
-- 
Andre Luis Fogagnoli
Bastion Security Systems 
http://www.bastion.com.br 
tel://+5511.5049.0100


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] PDC - profile problem

2003-12-08 Thread Andre Luis Fogagnoli
Hello all,
I try to samba storage a roam profile, but I have some problems with
this.
First I use samba2.2.8 with smb.conf from Oreilly Open Books Project
with one modification, I use LDAP to storage accounts.

[global]
workgroup = PAYNE
netbios name = VALHALLA
encrypt passwords = Yes
log level = 5
log file = /usr/local/samba/var/log
time server = Yes
domain admin group = root
add user script = /usr/local/sbin/smbldap-useradd.pl -w -d /dev/null 
-g 100 -s /sbin/nologin -M %u
logon script = logon.bat
logon path = \\%L\profiles\%u\%m
logon drive = H: 
logon home = \\%L\%u\.win_profile\%m
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
ldap server = 192.168.0.1
ldap port = 389
ldap suffix = dc=payne,dc=com,dc=br
ldap admin dn = cn=Manager,dc=payne,dc=com,dc=br
ldap ssl = no

[netlogon]
path = /usr/local/samba/lib/netlogon
guest ok = Yes
browseable = No

[profiles]
path = /home/samba-ntprof
read only = No
create mask = 0600
force create mode = 0600
directory mask = 0700
force directory mode = 0700
only user = Yes
browseable = No

[homes]
read only = No
browseable = No

With this configuration, when I logon in win2k return a error, same this: User doesn't 
own the folder, detail: Permission Denied.
But in Unix the folder /home/samba-ntprof has a mode 777, and the samba create in this 
folder another folder with a name of user and own by this user (\\%L\profiles\%u\%m).
I try to put "profile acls = Yes" in share profiles and win2k return another error: 
permision denied: Network Password incorrect (!?)...
I tire to test this and try install samba3. Using the same smb.conf his return another 
error: Netword Denied.

What I do wrong? I using a RedHat 9. And with smbclient or net use, the share homes 
work fine...

thx..

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