je me reponds a moi meme suite a une doc trouve sur le net:
desole pour le bruit
Stephane
http://members01.chello.se/brickhouse/unixstuff.html
---------------------------------------------
Configuring Samba on HPUX
If you have downloaded a binary distribution of Samba for HPUX you
may see the following messages in your samba log:
Failed to set gid privileges to (-1,-2) now set to (0,0) uid=(0,0)
PANIC: failed to set gid
The problem is that the guest account by default is nobody, in the
group nogroup. On HPUX, this user and group has a negative uid/gid,
which will cause
samba to log these messages or (in worst case) to core. To fix
this, create a user and group like the following:
/etc/passwd:
smbnull:*:119:101:DO NOT USE OR DELETE - needed by
Samba:/home/smbnull:/sbin/noshell
/etc/group:
smbnull::101:
Finally, add the following line to your global section of the
smb.conf file.
guest account = smbnull
--------------------------------------------
"Stephane Driussi (ffgfjb)" wrote:
> Bonjour a tous,
>
> j'ai le message suivant qui se repete sans arret dans mon samba-log
>
> Failed to set gid privileges to (-1,-24) now set to (0,0) uid=(0,0)
>
> que signifie ce message ?
>
> ci-joint mon smb.conf
>
> [global]
> workgroup = XXX
> encrypt passwords = yes
> log file = /var/opt/samba/samba-log.%m
> lock directory = /var/opt/samba/locks
>
> [shares]
> comment = Grenoble common disk
> path = /apps/shared_files
> read only = no
> guest ok = yes
>
> [homes]
> comment = Repertoire homes
> browseable = no
> read only = no
> create mode = 0750
>
> --------------
>
> je suis ouvert a toutes critiques concernant ce fichier afin de mieux
> parametrer samba.
>
> Merci d'avance
>
> Stephane
--
___________________________________________________________________________
| XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| XXX XXXXXXX XXXXXXXX XX |
| XX XXXXXX XXXXX XXXXXXX XX |
| XX XXXXXXX XXXX XXXXXX XX mailto:stephane.driussi@onsemi.com |
| XX XXXXXXX XXXX X XXXXX XX Phone : +33-(4)38 37 41 37 |
| XX XXXXXXX XXXX XX XXXX XX Fax : +33-(4)38 37 41 54 |
| XX XXXXXXX XXXX XXX XXX XX |
| XX XXXXXXX XXXX XXXX XX XX ON Semiconductor |
| XXX XXXXX XXXXX XXXXX X XX 2, Allee de Roumanie |
| XXXXX XXXXX XXXXXX XX 38610 Gieres |
|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX FRANCE |
|___________________________________________________________________________|